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

Unified Diff: Source/core/css/parser/CSSPropertyParser.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
« no previous file with comments | « Source/core/css/parser/CSSParserObserver.h ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.h
diff --git a/Source/core/css/parser/CSSPropertyParser.h b/Source/core/css/parser/CSSPropertyParser.h
index 38e1c612e3ae38c9a2924edbc6466e233cee8e7c..19c9a22449f4aa3662e70da959a4a2b4de78b331 100644
--- a/Source/core/css/parser/CSSPropertyParser.h
+++ b/Source/core/css/parser/CSSPropertyParser.h
@@ -72,7 +72,7 @@ public:
static bool parseValue(CSSPropertyID, bool important,
CSSParserValueList*, const CSSParserContext&, bool inViewport,
- WillBeHeapVector<CSSProperty, 256>&, CSSRuleSourceData::Type);
+ WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type);
// FIXME: This should probably move to CSSParserFastPaths
template<typename StringType>
@@ -82,7 +82,7 @@ public:
private:
CSSPropertyParser(CSSParserValueList*, const CSSParserContext&, bool inViewport,
- WillBeHeapVector<CSSProperty, 256>&, CSSRuleSourceData::Type);
+ WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type);
bool parseValue(CSSPropertyID, bool important);
@@ -367,7 +367,7 @@ private:
// Outputs:
WillBeHeapVector<CSSProperty, 256>& m_parsedProperties;
- CSSRuleSourceData::Type m_ruleType;
+ StyleRule::Type m_ruleType;
// Locals during parsing:
int m_inParseShorthand;
« no previous file with comments | « Source/core/css/parser/CSSParserObserver.h ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698