Index: Source/core/svg/SVGAngle.cpp |
diff --git a/Source/core/svg/SVGAngle.cpp b/Source/core/svg/SVGAngle.cpp |
index a1b40006f8ec22818ce4c1eb9c827e9cc111bc41..c70367890f850b8a3880565bd0c592cb4a618789 100644 |
--- a/Source/core/svg/SVGAngle.cpp |
+++ b/Source/core/svg/SVGAngle.cpp |
@@ -163,7 +163,7 @@ void SVGAngle::setValueAsString(const String& value, ExceptionCode& ec) |
bool success = value.is8Bit() ? parseValue<LChar>(value, valueInSpecifiedUnits, unitType) |
: parseValue<UChar>(value, valueInSpecifiedUnits, unitType); |
if (!success) { |
- ec = SYNTAX_ERR; |
+ ec = SyntaxError; |
return; |
} |