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

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

Issue 1399853005: Changed CSSColorValue to return a Color (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_color
Patch Set: Rebase Created 5 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/css/parser/CSSParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSColorValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSColorValue.h b/third_party/WebKit/Source/core/css/CSSColorValue.h
index e8e532f0735da52edc1c3712714ea4e6ef565912..6b7ce222f668cb349965cc1d15c5c57c81a06680 100644
--- a/third_party/WebKit/Source/core/css/CSSColorValue.h
+++ b/third_party/WebKit/Source/core/css/CSSColorValue.h
@@ -24,8 +24,7 @@ public:
return m_color.serializedAsCSSComponentValue();
}
- // TODO(sashab): Make this return a Color.
- RGBA32 value() const { return m_color.rgb(); }
+ Color value() const { return m_color; }
bool equals(const CSSColorValue& other) const
{
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698