Index: third_party/WebKit/Source/core/svg/SVGTransformList.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGTransformList.cpp b/third_party/WebKit/Source/core/svg/SVGTransformList.cpp |
index 6076f5f404b679817fe978d525c2c4ade3efcbbb..28861bae348674758afc1a018744b62a786b26d2 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTransformList.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGTransformList.cpp |
@@ -266,11 +266,11 @@ String SVGTransformList::valueAsString() const |
return builder.toString(); |
} |
-void SVGTransformList::setValueAsString(const String& value, ExceptionState& exceptionState) |
+SVGParsingError SVGTransformList::setValueAsString(const String& value) |
{ |
if (value.isEmpty()) { |
clear(); |
- return; |
+ return NoError; |
} |
bool valid = false; |
@@ -286,8 +286,10 @@ void SVGTransformList::setValueAsString(const String& value, ExceptionState& exc |
if (!valid) { |
clear(); |
- exceptionState.throwDOMException(SyntaxError, "Problem parsing transform list=\""+value+"\""); |
+ return ParsingAttributeFailedError; |
} |
+ |
+ return NoError; |
} |
PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGTransformList::cloneForAnimation(const String& value) const |