зеркало из https://github.com/mozilla/gecko-dev.git
Bug 860941 - Remove unnecessary argument cleanup in nsGlobalWindow::DetachFromDocShell. r=jst
This function proceeds to invoke CleanUp(), which also cleans this stuff up.
This commit is contained in:
Родитель
9eef721690
Коммит
0a5e943de8
|
@ -2738,13 +2738,6 @@ nsGlobalWindow::DetachFromDocShell()
|
|||
|
||||
mChromeEventHandler = nullptr; // force release now
|
||||
|
||||
if (mArguments) {
|
||||
// We got no new document after someone called
|
||||
// SetArguments(), drop our reference to the arguments.
|
||||
mArguments = nullptr;
|
||||
mArgumentsOrigin = nullptr;
|
||||
}
|
||||
|
||||
if (mContext) {
|
||||
mContext->GC(JS::gcreason::SET_DOC_SHELL);
|
||||
mContext = nullptr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче