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

Unified Diff: Source/core/svg/SVGColor.cpp

Issue 114373004: Remove the SVGColor and SVGPaint DOM interfaces (were deprecated). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: text diff fix Created 7 years 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/svg/SVGAnimatedType.cpp ('k') | Source/core/svg/SVGColor.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGColor.cpp
diff --git a/Source/core/svg/SVGColor.cpp b/Source/core/svg/SVGColor.cpp
index 788ecf8d9f4756aea6dc1c19498bdbf0afb17d32..54774e0ea329960fa1d1de62f7cf5290dd9f3111 100644
--- a/Source/core/svg/SVGColor.cpp
+++ b/Source/core/svg/SVGColor.cpp
@@ -79,10 +79,10 @@ String SVGColor::customCSSText() const
case SVG_COLORTYPE_RGBCOLOR_ICCCOLOR:
case SVG_COLORTYPE_RGBCOLOR:
// FIXME: No ICC color support.
- return m_color.serialized();
+ return m_color.serializedAsCSSComponentValue();
case SVG_COLORTYPE_CURRENTCOLOR:
if (m_color.isValid())
- return m_color.serialized();
+ return m_color.serializedAsCSSComponentValue();
return "currentColor";
}
« no previous file with comments | « Source/core/svg/SVGAnimatedType.cpp ('k') | Source/core/svg/SVGColor.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698