Fix XPC_DUMP_AT_SHUTDOWN bustage from Bug 882162 Part 1 (changeset efb0b493cc21).

This commit is contained in:
L. David Baron 2013-06-19 16:55:06 -07:00
parent 95577b488c
commit c906c85901

View File

@ -1249,7 +1249,7 @@ XPCJSRuntime::~XPCJSRuntime()
// count the total JSContexts in use
JSContext* iter = nullptr;
int count = 0;
while (JS_ContextIterator(mJSRuntime, &iter))
while (JS_ContextIterator(Runtime(), &iter))
count ++;
if (count)
printf("deleting XPCJSRuntime with %d live JSContexts\n", count);