Index: Source/WebCore/dom/Document.cpp |
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp |
index a9ade890e5d77c7e0a5d43379af76d67a9495bc1..9646931e149790d9ee5eaca8825800f62729abb0 100644 |
--- a/Source/WebCore/dom/Document.cpp |
+++ b/Source/WebCore/dom/Document.cpp |
@@ -5736,16 +5736,12 @@ HTMLIFrameElement* Document::seamlessParentIFrame() const |
bool Document::shouldDisplaySeamlesslyWithParent() const |
{ |
-#if ENABLE(IFRAME_SEAMLESS) |
if (!RuntimeEnabledFeatures::seamlessIFramesEnabled()) |
return false; |
HTMLFrameOwnerElement* ownerElement = this->ownerElement(); |
if (!ownerElement) |
return false; |
return m_mayDisplaySeamlesslyWithParent && ownerElement->hasTagName(iframeTag) && ownerElement->fastHasAttribute(seamlessAttr); |
-#else |
- return false; |
-#endif |
} |
DocumentLoader* Document::loader() const |