From 3c7c326821351b3acada08960fc6959774b1de0b Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Wed, 7 Jan 2015 10:49:41 -0800 Subject: [PATCH] Bug 1116821 - Don't PokeGC in SetNewDocument. r=smaug --- dom/base/nsGlobalWindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index f1856f44ad8..ac3fd9a442c 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -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