diff --git a/js/xpconnect/src/XPCMaps.cpp b/js/xpconnect/src/XPCMaps.cpp index 4c1ac6cac3..0291e86ca4 100644 --- a/js/xpconnect/src/XPCMaps.cpp +++ b/js/xpconnect/src/XPCMaps.cpp @@ -90,7 +90,7 @@ JSObject2WrappedJSMap::UpdateWeakPointersAfterGC(XPCJSRuntime* runtime) // Check all wrappers and update their JSObject pointer if it has been // moved. Release any wrappers whose weakly held JSObject has died. - nsTArray> dying; + nsTArray> dying; for (Map::Enum e(mTable); !e.empty(); e.popFront()) { nsXPCWrappedJS* wrapper = e.front().value();