Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index 2125d545b93fdfa362c9a7f4408efce3cfb87e42..098b8548242df9fe94f9e287876489c577986559 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -378,7 +378,7 @@ void StyleResolver::matchAuthorRulesForShadowHost(Element* element, ElementRuleC |
CascadeOrder cascadeOrder = 0; |
for (int j = resolversInShadowTree.size() - 1; j >= 0; --j) |
- resolversInShadowTree.at(j)->collectMatchingAuthorRules(collector, includeEmptyRules, cascadeScope, cascadeOrder++); |
+ resolversInShadowTree.at(j)->collectMatchingShadowHostRules(collector, includeEmptyRules, cascadeScope, cascadeOrder++); |
if (resolvers.isEmpty() || resolvers.first()->treeScope() != element->treeScope()) |
++cascadeScope; |