Bug 1116821 - Don't PokeGC in SetNewDocument. r=smaug

This commit is contained in:
Andrew McCreight 2015-01-07 10:49:41 -08:00
parent bd6063a0db
commit 3c7c326821

View File

@ -2699,7 +2699,6 @@ nsGlobalWindow::SetNewDocument(nsIDocument* aDocument,
newInnerWindow->mChromeEventHandler = mChromeEventHandler;
}
nsJSContext::PokeGC(JS::gcreason::SET_NEW_DOCUMENT);
mContext->DidInitializeContext();
// We wait to fire the debugger hook until the window is all set up and hooked