diff options
Diffstat (limited to 'xpcom/base/CycleCollectedJSRuntime.h')
-rw-r--r-- | xpcom/base/CycleCollectedJSRuntime.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xpcom/base/CycleCollectedJSRuntime.h b/xpcom/base/CycleCollectedJSRuntime.h index 6f03d3ee99..af837e1ae7 100644 --- a/xpcom/base/CycleCollectedJSRuntime.h +++ b/xpcom/base/CycleCollectedJSRuntime.h @@ -473,8 +473,9 @@ class CycleCollectedJSRuntime { OOMState mLargeAllocationFailureState; static const size_t kSegmentSize = 512; - SegmentedVector<nsWrapperCache*, kSegmentSize, InfallibleAllocPolicy> - mNurseryObjects; + using NurseryObjectsVector = + SegmentedVector<nsWrapperCache*, kSegmentSize, InfallibleAllocPolicy>; + NurseryObjectsVector mNurseryObjects; nsTHashSet<JS::Zone*> mZonesWaitingForGC; |