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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParser.cpp

Issue 2056593005: Move more helper methods out of CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V2 Created 4 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: third_party/WebKit/Source/core/css/parser/CSSParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
index a3f8765fdf0715acef253e6403a8f8a0fb4b8d84..a8061e5bdd66fe2c2145b7f4dc87d757fa5b7d4a 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
@@ -159,7 +159,7 @@ bool CSSParser::parseColor(Color& color, const String& string, bool strict)
bool CSSParser::parseSystemColor(Color& color, const String& colorString)
{
CSSValueID id = cssValueKeywordID(colorString);
- if (!CSSPropertyParser::isSystemColor(id))
+ if (!StyleColor::isSystemColor(id))
return false;
color = LayoutTheme::theme().systemColor(id);
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleColor.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698