Index: Source/core/css/SelectorChecker.cpp |
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp |
index 36d9f5f8c2ddee0301070505f5bd4d84b48fe9e4..7e86a46d5e069ea913e771dcbf95cb513ae8dd93 100644 |
--- a/Source/core/css/SelectorChecker.cpp |
+++ b/Source/core/css/SelectorChecker.cpp |
@@ -872,7 +872,7 @@ bool SelectorChecker::checkOne(const SelectorCheckingContext& context, const Sib |
break; |
case CSSSelector::PseudoHost: |
- case CSSSelector::PseudoAncestor: |
+ case CSSSelector::PseudoHostContext: |
{ |
// :host only matches a shadow host when :host is in a shadow tree of the shadow host. |
if (!context.scope) |