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

Unified Diff: Source/WebCore/css/CSSSelector.cpp

Issue 13646006: Remove the ENABLE_IFRAME_SEAMLESS compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. 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
« no previous file with comments | « Source/WebCore/css/CSSSelector.h ('k') | Source/WebCore/css/SelectorChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/css/CSSSelector.cpp
diff --git a/Source/WebCore/css/CSSSelector.cpp b/Source/WebCore/css/CSSSelector.cpp
index 85c8a55c51b7046433aaf0f135655a75526569a3..d34f53f36bbcafe5ae2125250ab6465a9947b150 100644
--- a/Source/WebCore/css/CSSSelector.cpp
+++ b/Source/WebCore/css/CSSSelector.cpp
@@ -239,9 +239,7 @@ PseudoId CSSSelector::pseudoId(PseudoType type)
case PseudoFutureCue:
case PseudoPastCue:
#endif
-#if ENABLE(IFRAME_SEAMLESS)
case PseudoSeamlessDocument:
-#endif
#if ENABLE(SHADOW_DOM)
case PseudoDistributed:
#endif
@@ -330,9 +328,7 @@ static HashMap<AtomicStringImpl*, CSSSelector::PseudoType>* nameToPseudoTypeMap(
DEFINE_STATIC_LOCAL(AtomicString, futureCue, ("future", AtomicString::ConstructFromLiteral));
DEFINE_STATIC_LOCAL(AtomicString, pastCue, ("past", AtomicString::ConstructFromLiteral));
#endif
-#if ENABLE(IFRAME_SEAMLESS)
DEFINE_STATIC_LOCAL(AtomicString, seamlessDocument, ("-webkit-seamless-document", AtomicString::ConstructFromLiteral));
-#endif
#if ENABLE(SHADOW_DOM)
DEFINE_STATIC_LOCAL(AtomicString, distributed, ("-webkit-distributed(", AtomicString::ConstructFromLiteral));
#endif
@@ -416,9 +412,7 @@ static HashMap<AtomicStringImpl*, CSSSelector::PseudoType>* nameToPseudoTypeMap(
nameToPseudoType->set(futureCue.impl(), CSSSelector::PseudoFutureCue);
nameToPseudoType->set(pastCue.impl(), CSSSelector::PseudoPastCue);
#endif
-#if ENABLE(IFRAME_SEAMLESS)
nameToPseudoType->set(seamlessDocument.impl(), CSSSelector::PseudoSeamlessDocument);
-#endif
#if ENABLE(SHADOW_DOM)
nameToPseudoType->set(distributed.impl(), CSSSelector::PseudoDistributed);
#endif
@@ -543,9 +537,7 @@ void CSSSelector::extractPseudoType() const
case PseudoFullScreenDocument:
case PseudoFullScreenAncestor:
case PseudoAnimatingFullScreenTransition:
-#if ENABLE(IFRAME_SEAMLESS)
case PseudoSeamlessDocument:
-#endif
case PseudoInRange:
case PseudoOutOfRange:
#if ENABLE(VIDEO_TRACK)
« no previous file with comments | « Source/WebCore/css/CSSSelector.h ('k') | Source/WebCore/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698