Index: third_party/WebKit/Source/core/css/CSSSelector.h |
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.h b/third_party/WebKit/Source/core/css/CSSSelector.h |
index 91e93c38e4eeba324faa946878a8e2e2a311335b..8f3e577f761b9e3b57c16c5e11f9f18c7f949671 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSelector.h |
+++ b/third_party/WebKit/Source/core/css/CSSSelector.h |
@@ -25,6 +25,7 @@ |
#include <memory> |
#include "core/CoreExport.h" |
+#include "core/css/parser/CSSParserContext.h" |
#include "core/dom/QualifiedName.h" |
#include "core/style/ComputedStyleConstants.h" |
#include "platform/wtf/RefCounted.h" |
@@ -132,6 +133,7 @@ class CORE_EXPORT CSSSelector { |
// Special cases for shadow DOM related selectors. |
kShadowPiercingDescendant, // >>> combinator |
kShadowDeep, // /deep/ combinator |
+ kShadowDeepAsDescendant, // /deep/ as an alias for descendant |
kShadowPseudo, // ::shadow pseudo element |
kShadowSlot // ::slotted() pseudo element |
}; |
@@ -238,7 +240,9 @@ class CORE_EXPORT CSSSelector { |
PseudoType GetPseudoType() const { |
return static_cast<PseudoType>(pseudo_type_); |
} |
- void UpdatePseudoType(const AtomicString&, bool has_arguments); |
+ void UpdatePseudoType(const AtomicString&, |
+ const CSSParserContext&, |
+ bool has_arguments); |
static PseudoType ParsePseudoType(const AtomicString&, bool has_arguments); |
static PseudoId ParsePseudoId(const String&); |