| Index: Source/core/css/RuleSet.cpp
|
| diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp
|
| index c3162b784ad0f1301eea3fc7d0b4def84eecfb87..09325cefc71b0c1d3e2ee79b658258e05025491e 100644
|
| --- a/Source/core/css/RuleSet.cpp
|
| +++ b/Source/core/css/RuleSet.cpp
|
| @@ -260,8 +260,7 @@ bool RuleSet::findBestRuleSetAndAdd(const CSSSelector* component, RuleData& rule
|
| return true;
|
| }
|
| if (component->isCustomPseudoElement()) {
|
| - StringImpl* pseudoValue = component->pseudoType() == CSSSelector::PseudoPart ? component->argument().impl() : component->value().impl();
|
| - addToRuleSet(pseudoValue, ensurePendingRules()->shadowPseudoElementRules, ruleData);
|
| + addToRuleSet(component->value().impl(), ensurePendingRules()->shadowPseudoElementRules, ruleData);
|
| return true;
|
| }
|
| if (component->pseudoType() == CSSSelector::PseudoCue) {
|
|
|