| Index: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
|
| index 1a2a83d382be54bee6fb46b8942ea4611664cb15..67ae3a267c7d081d7664a668c5a818de7325e41b 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
|
| @@ -208,7 +208,7 @@ void ScopedStyleResolver::addTreeBoundaryCrossingRules(const RuleSet& authorRule
|
| {
|
| bool isDocumentScope = treeScope().rootNode().isDocumentNode();
|
| if (authorRules.deepCombinatorOrShadowPseudoRules().isEmpty()
|
| - && (isDocumentScope || (authorRules.shadowDistributedRules().isEmpty() && authorRules.shadowSlottedRules().isEmpty())))
|
| + && (isDocumentScope || (authorRules.contentPseudoElementRules().isEmpty() && authorRules.slottedPseudoElementRules().isEmpty())))
|
| return;
|
|
|
| if (!authorRules.deepCombinatorOrShadowPseudoRules().isEmpty())
|
| @@ -218,8 +218,8 @@ void ScopedStyleResolver::addTreeBoundaryCrossingRules(const RuleSet& authorRule
|
| addRules(ruleSetForScope.get(), authorRules.deepCombinatorOrShadowPseudoRules());
|
|
|
| if (!isDocumentScope) {
|
| - addRules(ruleSetForScope.get(), authorRules.shadowDistributedRules());
|
| - addRules(ruleSetForScope.get(), authorRules.shadowSlottedRules());
|
| + addRules(ruleSetForScope.get(), authorRules.contentPseudoElementRules());
|
| + addRules(ruleSetForScope.get(), authorRules.slottedPseudoElementRules());
|
| }
|
|
|
| if (!m_treeBoundaryCrossingRuleSet) {
|
|
|