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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp

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
Index: third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
index 68e547a557b381685798242e4df8aa333ffe129b..b05eebe7aabd99baa142a2bf443c62e11ca2a03a 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
@@ -31,9 +31,9 @@ SVGColorProperty::SVGColorProperty(const String& colorString)
: SVGPropertyBase(classType())
, m_styleColor(StyleColor::currentColor())
{
- RGBA32 color;
+ Color color;
if (CSSParser::parseColor(color, colorString.stripWhiteSpace()))
- m_styleColor = StyleColor(color);
+ m_styleColor = color;
}
String SVGColorProperty::valueAsString() const
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLBodyElement.cpp ('k') | third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698