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

Unified Diff: third_party/WebKit/Source/core/css/RuleSet.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/RuleSet.cpp
diff --git a/third_party/WebKit/Source/core/css/RuleSet.cpp b/third_party/WebKit/Source/core/css/RuleSet.cpp
index ba97888f66c243b5f65b8d06c2b6ae4575890812..34913d7c94e45151c6768052903e0c0a0d8d8ecc 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.cpp
+++ b/third_party/WebKit/Source/core/css/RuleSet.cpp
@@ -78,7 +78,7 @@ static bool containsUncommonAttributeSelector(const CSSSelector& selector)
return true;
if (selectorListContainsUncommonAttributeSelector(current))
return true;
- if (current->relationIsAffectedByPseudoContent() || current->pseudoType() == CSSSelector::PseudoSlotted)
+ if (current->relationIsAffectedByPseudoContent() || current->getPseudoType() == CSSSelector::PseudoSlotted)
return false;
if (current->relation() != CSSSelector::SubSelector) {
current = current->tagHistory();
@@ -98,9 +98,9 @@ static bool containsUncommonAttributeSelector(const CSSSelector& selector)
static inline PropertyWhitelistType determinePropertyWhitelistType(const AddRuleFlags addRuleFlags, const CSSSelector& selector)
{
for (const CSSSelector* component = &selector; component; component = component->tagHistory()) {
- if (component->pseudoType() == CSSSelector::PseudoCue || (component->match() == CSSSelector::PseudoElement && component->value() == TextTrackCue::cueShadowPseudoId()))
+ if (component->getPseudoType() == CSSSelector::PseudoCue || (component->match() == CSSSelector::PseudoElement && component->value() == TextTrackCue::cueShadowPseudoId()))
return PropertyWhitelistCue;
- if (component->pseudoType() == CSSSelector::PseudoFirstLetter)
+ if (component->getPseudoType() == CSSSelector::PseudoFirstLetter)
return PropertyWhitelistFirstLetter;
}
return PropertyWhitelistNone;
@@ -144,7 +144,7 @@ static void extractValuesforSelector(const CSSSelector* selector, AtomicString&
default:
break;
}
- if (selector->pseudoType() == CSSSelector::PseudoWebKitCustomElement)
+ if (selector->getPseudoType() == CSSSelector::PseudoWebKitCustomElement)
customPseudoElementName = selector->value();
}
@@ -183,7 +183,7 @@ bool RuleSet::findBestRuleSetAndAdd(const CSSSelector& component, RuleData& rule
return true;
}
- switch (component.pseudoType()) {
+ switch (component.getPseudoType()) {
case CSSSelector::PseudoCue:
m_cuePseudoRules.append(ruleData);
return true;
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeature.cpp ('k') | third_party/WebKit/Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698