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

Unified Diff: Source/core/css/CSSParserValues.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/CSSParserValues.cpp
diff --git a/Source/core/css/CSSParserValues.cpp b/Source/core/css/CSSParserValues.cpp
index 12ffee50aec5cde9dab41aa5f3960d6642e701f4..62196a7725221bacfc186dbfb1b1e5f76b7bf5b5 100644
--- a/Source/core/css/CSSParserValues.cpp
+++ b/Source/core/css/CSSParserValues.cpp
@@ -186,7 +186,7 @@ bool CSSParserSelector::isSimple() const
if (!m_tagHistory)
return true;
- if (m_selector->m_match == CSSSelector::Tag) {
+ if (m_selector->match() == CSSSelector::Tag) {
// We can't check against anyQName() here because namespace may not be nullAtom.
// Example:
// @namespace "http://www.w3.org/2000/svg";
@@ -224,7 +224,7 @@ void CSSParserSelector::prependTagSelector(const QualifiedName& tagQName, bool t
m_tagHistory = second.release();
m_selector = adoptPtr(new CSSSelector(tagQName, tagIsForNamespaceRule));
- m_selector->m_relation = CSSSelector::SubSelector;
+ m_selector->setRelation(CSSSelector::SubSelector);
}
bool CSSParserSelector::hasHostPseudoSelector() const

Powered by Google App Engine
This is Rietveld 408576698