Index: Source/WebCore/dom/Document.cpp |
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp |
index a8e92574222a73e5f54c27eba22e183cf32ba08f..4a6ca79fbd1a29d3dea0e6416b125c44a1e2b208 100644 |
--- a/Source/WebCore/dom/Document.cpp |
+++ b/Source/WebCore/dom/Document.cpp |
@@ -5753,16 +5753,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 |