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

Unified Diff: Source/core/css/parser/CSSParserImpl.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/CSSGrammar.y ('k') | Source/core/css/parser/CSSParserImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserImpl.h
diff --git a/Source/core/css/parser/CSSParserImpl.h b/Source/core/css/parser/CSSParserImpl.h
index e7e22086a2593b2104c12e2ed94053c79df99c9b..e8c6e95328105f62fe6c59a9bba34a077b7c485c 100644
--- a/Source/core/css/parser/CSSParserImpl.h
+++ b/Source/core/css/parser/CSSParserImpl.h
@@ -86,10 +86,9 @@ private:
PassRefPtrWillBeRawPtr<StyleRuleKeyframe> consumeKeyframeStyleRule(CSSParserTokenRange prelude, CSSParserTokenRange block);
PassRefPtrWillBeRawPtr<StyleRule> consumeStyleRule(CSSParserTokenRange prelude, CSSParserTokenRange block);
- // FIXME: We should use a CSSRule::Type here
- void consumeDeclarationList(CSSParserTokenRange, CSSRuleSourceData::Type);
- void consumeDeclaration(CSSParserTokenRange, CSSRuleSourceData::Type);
- void consumeDeclarationValue(CSSParserTokenRange, CSSPropertyID, bool important, CSSRuleSourceData::Type);
+ void consumeDeclarationList(CSSParserTokenRange, StyleRule::Type);
+ void consumeDeclaration(CSSParserTokenRange, StyleRule::Type);
+ void consumeDeclarationValue(CSSParserTokenRange, CSSPropertyID, bool important, StyleRule::Type);
static PassOwnPtr<Vector<double>> consumeKeyframeKeyList(CSSParserTokenRange);
« no previous file with comments | « Source/core/css/parser/CSSGrammar.y ('k') | Source/core/css/parser/CSSParserImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698