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

Unified Diff: Source/core/css/parser/CSSParserValues.h

Issue 1094213002: Refactored compound selector parsing methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addresses review issues Created 5 years, 8 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
« no previous file with comments | « Source/core/css/CSSSelector.cpp ('k') | Source/core/css/parser/CSSParserValues.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserValues.h
diff --git a/Source/core/css/parser/CSSParserValues.h b/Source/core/css/parser/CSSParserValues.h
index d24cd09447c078b8de209ea77531b994430dfc50..9bcb86c47527544275c8ce70cc9a3671c5ec18e5 100644
--- a/Source/core/css/parser/CSSParserValues.h
+++ b/Source/core/css/parser/CSSParserValues.h
@@ -215,10 +215,10 @@ class CSSParserSelector {
WTF_MAKE_NONCOPYABLE(CSSParserSelector); WTF_MAKE_FAST_ALLOCATED(CSSParserSelector);
public:
CSSParserSelector();
- explicit CSSParserSelector(const QualifiedName&);
+ explicit CSSParserSelector(const QualifiedName&, bool isImplicit = false);
static PassOwnPtr<CSSParserSelector> create() { return adoptPtr(new CSSParserSelector); }
- static PassOwnPtr<CSSParserSelector> create(const QualifiedName& name) { return adoptPtr(new CSSParserSelector(name)); }
+ static PassOwnPtr<CSSParserSelector> create(const QualifiedName& name, bool isImplicit = false) { return adoptPtr(new CSSParserSelector(name, isImplicit)); }
~CSSParserSelector();
@@ -252,7 +252,7 @@ public:
void clearTagHistory() { m_tagHistory.clear(); }
void insertTagHistory(CSSSelector::Relation before, PassOwnPtr<CSSParserSelector>, CSSSelector::Relation after);
void appendTagHistory(CSSSelector::Relation, PassOwnPtr<CSSParserSelector>);
- void prependTagSelector(const QualifiedName&, bool tagIsForNamespaceRule = false);
+ void prependTagSelector(const QualifiedName&, bool tagIsImplicit = false);
private:
OwnPtr<CSSSelector> m_selector;
« no previous file with comments | « Source/core/css/CSSSelector.cpp ('k') | Source/core/css/parser/CSSParserValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698