Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index cb902b5cb818699a65eb5421933a72e548fe0be6..65dab7d851fe85b6d9bdead50ec33e392b2124f5 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -1296,7 +1296,7 @@ void ContainerNode::checkForChildrenAdjacentRuleChanges() |
child->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::SiblingSelector)); |
if (childRulesChanged && hasDirectAdjacentRules) |
- forceCheckOfNextElementCount = document.styleEngine()->maxDirectAdjacentSelectors(); |
+ forceCheckOfNextElementCount = document.styleEngine().maxDirectAdjacentSelectors(); |
else if (forceCheckOfNextElementCount) |
--forceCheckOfNextElementCount; |