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

This commit is contained in:
Andrew McCreight 2015-01-07 10:49:41 -08:00
Родитель 0e5c141375
Коммит afbe2d3971
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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