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

Unified Diff: Source/core/css/CSSSelector.cpp

Issue 322803004: Make all CSSSelector data members private (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix win dbg build error Created 6 years, 6 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: Source/core/css/CSSSelector.cpp
diff --git a/Source/core/css/CSSSelector.cpp b/Source/core/css/CSSSelector.cpp
index eb8fef6079f50e9ac7108fd6e2b019921edfadb3..a3ecc0894982de95f141a733619f3be8ec8e895d 100644
--- a/Source/core/css/CSSSelector.cpp
+++ b/Source/core/css/CSSSelector.cpp
@@ -736,7 +736,7 @@ void CSSSelector::setSelectorList(PassOwnPtr<CSSSelectorList> selectorList)
static bool validateSubSelector(const CSSSelector* selector)
{
- switch (selector->m_match) {
+ switch (selector->match()) {
case CSSSelector::Tag:
case CSSSelector::Id:
case CSSSelector::Class:
@@ -749,6 +749,7 @@ static bool validateSubSelector(const CSSSelector* selector)
case CSSSelector::End:
return true;
case CSSSelector::PseudoElement:
+ case CSSSelector::Unknown:
return false;
case CSSSelector::PagePseudoClass:
case CSSSelector::PseudoClass:

Powered by Google App Engine
This is Rietveld 408576698