Bug 1631548 - part 2: Remove nsGenericHTMLFrameElement::mFrameLoaderCreationDisallowed. r=emilio

Setters for this field are removed in the previous commit.
This field is always false. We can remove it.

Differential Revision: https://phabricator.services.mozilla.com/D71630
This commit is contained in:
Tetsuharu Ohzeki
2020-04-20 19:02:24 +00:00
parent c20e177924
commit 3d9df882cb
2 changed files with 1 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ Nullable<WindowProxyHolder> nsGenericHTMLFrameElement::GetContentWindow() {
}
void nsGenericHTMLFrameElement::EnsureFrameLoader() {
if (!IsInComposedDoc() || mFrameLoader || mFrameLoaderCreationDisallowed) {
if (!IsInComposedDoc() || mFrameLoader) {
// If frame loader is there, we just keep it around, cached
return;
}