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

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

Issue 951213004: Make CSSRuleSourceData use the CSSRule Type enum (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use StyleRule::Type Created 5 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: Source/core/css/parser/BisonCSSParser.h
diff --git a/Source/core/css/parser/BisonCSSParser.h b/Source/core/css/parser/BisonCSSParser.h
index 858ec0ec077da810698a04fbba6592fe78721fc9..5fe4f9eb8a05d620e1d8e088677e7d42d34da7c8 100644
--- a/Source/core/css/parser/BisonCSSParser.h
+++ b/Source/core/css/parser/BisonCSSParser.h
@@ -185,7 +185,7 @@ public:
// Local functions which just call into CSSParserObserver if non-null.
void startRule();
void endRule(bool valid);
- void startRuleHeader(CSSRuleSourceData::Type);
+ void startRuleHeader(StyleRule::Type);
void endRuleHeader();
void startSelector();
void endSelector();
@@ -253,7 +253,7 @@ private:
const String* m_source;
TextPosition m_startPosition;
- CSSRuleSourceData::Type m_ruleHeaderType;
+ StyleRule::Type m_ruleHeaderType;
unsigned m_ruleHeaderStartOffset;
int m_ruleHeaderStartLineNumber;
OwnPtr<Vector<unsigned> > m_lineEndings;
« no previous file with comments | « Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp ('k') | Source/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698