Index: third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
index a68f5d7774d4e23cd38ff2668fc0550fc47c248b..87753c332dc4f19f9f334b5614627b4153a67fae 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp |
@@ -126,7 +126,7 @@ void HTMLIFrameElement::parseAttribute(const QualifiedName& name, const AtomicSt |
bool HTMLIFrameElement::layoutObjectIsNeeded(const ComputedStyle& style) |
{ |
- return isURLAllowed() && HTMLElement::layoutObjectIsNeeded(style); |
+ return isURLAllowed(WillNotLoadURL) && HTMLElement::layoutObjectIsNeeded(style); |
} |
LayoutObject* HTMLIFrameElement::createLayoutObject(const ComputedStyle&) |