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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSSelectorParser.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: 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/parser/CSSSelectorParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
index 105b5e4ce2b4d49d6a6aedb5c3124d0316c28fe5..966f590ab34afa60b717c14e09a221bc252a2112 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
@@ -19,7 +19,7 @@ static void recordSelectorStats(const CSSParserContext& context, const CSSSelect
for (const CSSSelector* selector = selectorList.first(); selector; selector = CSSSelectorList::next(*selector)) {
for (const CSSSelector* current = selector; current ; current = current->tagHistory()) {
UseCounter::Feature feature = UseCounter::NumberOfFeatures;
- switch (current->pseudoType()) {
+ switch (current->getPseudoType()) {
case CSSSelector::PseudoUnresolved:
feature = UseCounter::CSSSelectorPseudoUnresolved;
break;
@@ -265,7 +265,7 @@ bool isSimpleSelectorValidAfterPseudoElement(const CSSParserSelector& simpleSele
ASSERT(simpleSelector.selectorList());
ASSERT(simpleSelector.selectorList()->first());
ASSERT(!simpleSelector.selectorList()->first()->tagHistory());
- pseudo = simpleSelector.selectorList()->first()->pseudoType();
+ pseudo = simpleSelector.selectorList()->first()->getPseudoType();
}
return isPseudoClassValidAfterPseudoElement(pseudo, compoundPseudoElement);
}

Powered by Google App Engine
This is Rietveld 408576698