Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: third_party/WebKit/Source/core/css/RuleSet.cpp

Issue 1616743002: Use more appropriate symbol names for "shadow distributed" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blink_slotted_matching
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleSet.h ('k') | third_party/WebKit/Source/core/css/SelectorChecker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RuleSet.cpp
diff --git a/third_party/WebKit/Source/core/css/RuleSet.cpp b/third_party/WebKit/Source/core/css/RuleSet.cpp
index bc735aa64c17e9154a58c9de90ac2073e92fa9d2..42962a163bd9683a5086e89d1dfbedfc6b8382d0 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.cpp
+++ b/third_party/WebKit/Source/core/css/RuleSet.cpp
@@ -261,9 +261,9 @@ void RuleSet::addChildRules(const WillBeHeapVector<RefPtrWillBeMember<StyleRuleB
if (selectorList.selectorUsesDeepCombinatorOrShadowPseudo(selectorIndex)) {
m_deepCombinatorOrShadowPseudoRules.append(MinimalRuleData(styleRule, selectorIndex, addRuleFlags));
} else if (selectorList.selectorHasContentPseudo(selectorIndex)) {
- m_shadowDistributedRules.append(MinimalRuleData(styleRule, selectorIndex, addRuleFlags));
+ m_contentPseudoElementRules.append(MinimalRuleData(styleRule, selectorIndex, addRuleFlags));
} else if (selectorList.selectorHasSlottedPseudo(selectorIndex)) {
- m_shadowSlottedRules.append(MinimalRuleData(styleRule, selectorIndex, addRuleFlags));
+ m_slottedPseudoElementRules.append(MinimalRuleData(styleRule, selectorIndex, addRuleFlags));
} else {
addRule(styleRule, selectorIndex, addRuleFlags);
}
@@ -343,8 +343,8 @@ void RuleSet::compactRules()
m_fontFaceRules.shrinkToFit();
m_keyframesRules.shrinkToFit();
m_deepCombinatorOrShadowPseudoRules.shrinkToFit();
- m_shadowDistributedRules.shrinkToFit();
- m_shadowSlottedRules.shrinkToFit();
+ m_contentPseudoElementRules.shrinkToFit();
+ m_slottedPseudoElementRules.shrinkToFit();
}
DEFINE_TRACE(MinimalRuleData)
@@ -385,8 +385,8 @@ DEFINE_TRACE(RuleSet)
visitor->trace(m_fontFaceRules);
visitor->trace(m_keyframesRules);
visitor->trace(m_deepCombinatorOrShadowPseudoRules);
- visitor->trace(m_shadowDistributedRules);
- visitor->trace(m_shadowSlottedRules);
+ visitor->trace(m_contentPseudoElementRules);
+ visitor->trace(m_slottedPseudoElementRules);
visitor->trace(m_viewportDependentMediaQueryResults);
visitor->trace(m_deviceDependentMediaQueryResults);
visitor->trace(m_pendingRules);
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleSet.h ('k') | third_party/WebKit/Source/core/css/SelectorChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698