Index: Source/core/css/SelectorChecker.cpp |
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp |
index c6e5f46eba9d06c503786e076d7f3c0d0e4f9f35..43f34e4b74447e3616eebf9fd4d839f504549fd8 100644 |
--- a/Source/core/css/SelectorChecker.cpp |
+++ b/Source/core/css/SelectorChecker.cpp |
@@ -293,7 +293,7 @@ SelectorChecker::Match SelectorChecker::matchForRelation(const SelectorCheckingC |
case CSSSelector::IndirectAdjacent: |
if (m_mode == ResolvingStyle) { |
if (Node* parent = context.element->parentElementOrShadowRoot()) |
- SiblingRuleHelper(parent).setChildrenAffectedByForwardPositionalRules(); |
+ SiblingRuleHelper(parent).setChildrenAffectedByIndirectAdjacentRules(); |
} |
nextContext.element = ElementTraversal::previousSibling(*context.element); |
nextContext.isSubSelector = false; |