mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 09:16:58 -10:00
Bug 1697886 - PresShell::GetPrimaryContentDocument shouldn't trigger about:blank creation. r=smaug
It's called during painting, so that'd be bad. This trivially happens with e10s disabled. Differential Revision: https://phabricator.services.mozilla.com/D108077
This commit is contained in:
1 parent
b2e70ed01b
commit
1312466379
1 file changed
+1
-1
@@ -8067,7 +8067,7 @@ Document* PresShell::GetPrimaryContentDocument() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return childDocShell->GetDocument();
|
||||
return childDocShell->GetExtantDocument();
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in new issue
Block a user