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

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

Issue 1731583003: blink: Rename enums and functions to not collide with chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-2: . Created 4 years, 10 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
Index: third_party/WebKit/Source/core/css/CSSSelectorList.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSelectorList.cpp b/third_party/WebKit/Source/core/css/CSSSelectorList.cpp
index 361d99bcd219bf353b2c9d8e144440cfaae9278b..bf1a5ab9b2787297c936f4621fd0ece7f87df112 100644
--- a/third_party/WebKit/Source/core/css/CSSSelectorList.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSelectorList.cpp
@@ -161,21 +161,21 @@ bool CSSSelectorList::selectorHasContentPseudo(size_t index) const
bool CSSSelectorList::selectorHasSlottedPseudo(size_t index) const
{
return forEachTagSelector([](const CSSSelector& selector) -> bool {
- return selector.pseudoType() == CSSSelector::PseudoSlotted;
+ return selector.getPseudoType() == CSSSelector::PseudoSlotted;
}, selectorAt(index));
}
bool CSSSelectorList::selectorUsesDeepCombinatorOrShadowPseudo(size_t index) const
{
return forEachTagSelector([](const CSSSelector& selector) -> bool {
- return selector.relation() == CSSSelector::ShadowDeep || selector.pseudoType() == CSSSelector::PseudoShadow;
+ return selector.relation() == CSSSelector::ShadowDeep || selector.getPseudoType() == CSSSelector::PseudoShadow;
}, selectorAt(index));
}
bool CSSSelectorList::selectorNeedsUpdatedDistribution(size_t index) const
{
return forEachTagSelector([](const CSSSelector& selector) -> bool {
- return selector.relationIsAffectedByPseudoContent() || selector.pseudoType() == CSSSelector::PseudoSlotted || selector.pseudoType() == CSSSelector::PseudoHostContext;
+ return selector.relationIsAffectedByPseudoContent() || selector.getPseudoType() == CSSSelector::PseudoSlotted || selector.getPseudoType() == CSSSelector::PseudoHostContext;
}, selectorAt(index));
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSelector.cpp ('k') | third_party/WebKit/Source/core/css/PageRuleCollector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698