Index: Source/core/css/resolver/SharedStyleFinder.cpp |
diff --git a/Source/core/css/resolver/SharedStyleFinder.cpp b/Source/core/css/resolver/SharedStyleFinder.cpp |
index bcb46b41942a93240fe1baae9a582f87b5d375de..0bfdbf4c5914841bdfd785f91b6bfacd77f5162a 100644 |
--- a/Source/core/css/resolver/SharedStyleFinder.cpp |
+++ b/Source/core/css/resolver/SharedStyleFinder.cpp |
@@ -40,7 +40,6 @@ |
#include "core/dom/Node.h" |
#include "core/dom/NodeRenderStyle.h" |
#include "core/dom/QualifiedName.h" |
-#include "core/dom/SiblingRuleHelper.h" |
#include "core/dom/SpaceSplitString.h" |
#include "core/dom/shadow/ElementShadow.h" |
#include "core/dom/shadow/InsertionPoint.h" |
@@ -332,7 +331,7 @@ RenderStyle* SharedStyleFinder::findSharedStyle() |
} |
// Tracking child index requires unique style for each node. This may get set by the sibling rule match above. |
- if (!SiblingRuleHelper(element().parentElementOrShadowRoot()).childrenSupportStyleSharing()) { |
+ if (!element().parentElementOrShadowRoot()->childrenSupportStyleSharing()) { |
INCREMENT_STYLE_STATS_COUNTER(m_styleResolver, sharedStyleRejectedByParent); |
return 0; |
} |