summaryrefslogtreecommitdiff
path: root/js/src/jscompartment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jscompartment.cpp')
-rw-r--r--js/src/jscompartment.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/src/jscompartment.cpp b/js/src/jscompartment.cpp
index ebf2d178f..5e33f27f7 100644
--- a/js/src/jscompartment.cpp
+++ b/js/src/jscompartment.cpp
@@ -722,8 +722,9 @@ JSCompartment::sweepAfterMinorGC(JSTracer* trc)
{
globalWriteBarriered = 0;
- if (innerViews.needsSweepAfterMinorGC())
- innerViews.sweepAfterMinorGC();
+ InnerViewTable& table = innerViews.get();
+ if (table.needsSweepAfterMinorGC())
+ table.sweepAfterMinorGC();
crossCompartmentWrappers.sweepAfterMinorGC(trc);
}