Backed out changeset 2d49d73f38aa (bug 1727514) for causing frequent crashes. a=backout

This commit is contained in:
Sandor Molnar
2021-09-16 15:52:56 +03:00
parent 7bac0d0890
commit d4735562cb
9 changed files with 16 additions and 156 deletions

View File

@@ -1161,7 +1161,6 @@ void nsDocShell::FirePageHideShowNonRecursive(bool aShow) {
mFiredUnloadEvent = false;
RefPtr<Document> doc = contentViewer->GetDocument();
if (doc) {
doc->SetContainer(this);
RefPtr<nsGlobalWindowInner> inner =
mScriptGlobal ? mScriptGlobal->GetCurrentInnerWindowInternal()
: nullptr;