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

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

Issue 26896005: IDL compiler: remove special case capitalization (cssText, xmllang, xmlbase, xmlspace) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« Source/core/svg/SVGLangSpace.cpp ('K') | « Source/core/svg/SVGPaint.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPaint.cpp
diff --git a/Source/core/svg/SVGPaint.cpp b/Source/core/svg/SVGPaint.cpp
index 538845d42e7f0db14e71e120fd25141bd8180101..cb80ac73a7633d2aa51f30fdd9897ef7abbf3b04 100644
--- a/Source/core/svg/SVGPaint.cpp
+++ b/Source/core/svg/SVGPaint.cpp
@@ -68,14 +68,14 @@ void SVGPaint::setPaint(unsigned short, const String&, const String&, const Stri
es.throwUninformativeAndGenericDOMException(NoModificationAllowedError);
}
-String SVGPaint::customCssText() const
+String SVGPaint::customCSSText() const
{
switch (m_paintType) {
case SVG_PAINTTYPE_UNKNOWN:
case SVG_PAINTTYPE_RGBCOLOR:
case SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR:
case SVG_PAINTTYPE_CURRENTCOLOR:
- return SVGColor::customCssText();
+ return SVGColor::customCSSText();
case SVG_PAINTTYPE_NONE:
return "none";
case SVG_PAINTTYPE_URI_NONE:
@@ -83,7 +83,7 @@ String SVGPaint::customCssText() const
case SVG_PAINTTYPE_URI_CURRENTCOLOR:
case SVG_PAINTTYPE_URI_RGBCOLOR:
case SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR: {
- String color = SVGColor::customCssText();
+ String color = SVGColor::customCSSText();
if (color.isEmpty())
return m_uri;
return "url(" + m_uri + ") " + color;
« Source/core/svg/SVGLangSpace.cpp ('K') | « Source/core/svg/SVGPaint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698