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

Unified Diff: third_party/WebKit/Source/core/css/StyleColor.h

Issue 2041363002: Move isColorKeyword out of CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alternative using StyleColor 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/StyleColor.h
diff --git a/third_party/WebKit/Source/core/css/StyleColor.h b/third_party/WebKit/Source/core/css/StyleColor.h
index 0bd696d1cbc8c2960d9fbe3a0af780a854888df6..faf3f66d1feb67af2f5b572668cfd29f0917cb99 100644
--- a/third_party/WebKit/Source/core/css/StyleColor.h
+++ b/third_party/WebKit/Source/core/css/StyleColor.h
@@ -50,6 +50,7 @@ public:
Color resolve(Color currentColor) const { return m_currentColor ? currentColor : m_color; }
static Color colorFromKeyword(CSSValueID);
+ static bool isColorKeyword(CSSValueID);
private:
Color m_color;

Powered by Google App Engine
This is Rietveld 408576698