Index: Source/core/svg/SVGLength.cpp |
diff --git a/Source/core/svg/SVGLength.cpp b/Source/core/svg/SVGLength.cpp |
index 078305a27f78eca7cdce78609233ba8cef462149..7a243c02f5416019760ba9f77182a15dda6ff49e 100644 |
--- a/Source/core/svg/SVGLength.cpp |
+++ b/Source/core/svg/SVGLength.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
namespace { |
-inline String lengthTypeToString(SVGLengthType type) |
+inline const char* lengthTypeToString(SVGLengthType type) |
{ |
switch (type) { |
case LengthTypeUnknown: |
@@ -64,7 +64,7 @@ inline String lengthTypeToString(SVGLengthType type) |
} |
ASSERT_NOT_REACHED(); |
- return String(); |
+ return ""; |
} |
template<typename CharType> |