Index: Source/core/css/SelectorChecker.cpp |
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp |
index c094dac2c3644ac9a73f0eb5ba2a6886b86393bb..768de63972ce3c8e4be511c17f62fa86a73e7a0c 100644 |
--- a/Source/core/css/SelectorChecker.cpp |
+++ b/Source/core/css/SelectorChecker.cpp |
@@ -199,7 +199,7 @@ SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext& con |
nextContext.isSubSelector = true; |
return match(nextContext, dynamicPseudo, siblingTraversalStrategy); |
- case CSSSelector::ShadowDescendant: |
+ case CSSSelector::ShadowPseudo: |
{ |
// If we're in the same tree-scope as the scoping element, then following a shadow descendant combinator would escape that and thus the scope. |
if (context.scope && context.scope->treeScope() == context.element->treeScope() && (context.behaviorAtBoundary & BoundaryBehaviorMask) != StaysWithinTreeScope) |