Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: Source/WebCore/dom/Document.cpp

Issue 13646006: Remove the ENABLE_IFRAME_SEAMLESS compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698