Index: Source/core/svg/SVGLength.cpp |
diff --git a/Source/core/svg/SVGLength.cpp b/Source/core/svg/SVGLength.cpp |
index 48b5fa0fd8d6837dfb736ab9840be2e8e6f5566a..e277a2bf2e44bfc9fd9f4c1c72e904d11ffcd39e 100644 |
--- a/Source/core/svg/SVGLength.cpp |
+++ b/Source/core/svg/SVGLength.cpp |
@@ -246,7 +246,7 @@ void SVGLength::setValueAsString(const String& string, ExceptionCode& ec) |
parseValueInternal<UChar>(string, convertedNumber, type); |
if (!success) { |
- ec = SYNTAX_ERR; |
+ ec = SyntaxError; |
return; |
} |