Index: third_party/WebKit/Source/core/html/HTMLFrameElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp |
index 4284904bf9448c5037e27db2f0be1b3a065f0008..dc398ebdb80e06cb5b791829b86f9e4843c1e1d3 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameElement.cpp |
@@ -41,7 +41,7 @@ DEFINE_NODE_FACTORY(HTMLFrameElement) |
bool HTMLFrameElement::layoutObjectIsNeeded(const ComputedStyle&) { |
// For compatibility, frames render even when display: none is set. |
- return isURLAllowed(); |
+ return contentFrame(); |
} |
LayoutObject* HTMLFrameElement::createLayoutObject(const ComputedStyle&) { |