Index: third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h |
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h |
index 85008ba4c212dc5298e59f4875a428e7540bffcb..c5f84271c69564bcc52cb62575bf1df823a4c541 100644 |
--- a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h |
+++ b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h |
@@ -60,7 +60,7 @@ public: |
virtual void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) = 0; |
virtual void animationEnded(); |
- virtual void setBaseValueAsString(const String& value, SVGParsingError& parseError) = 0; |
+ virtual SVGParsingError setBaseValueAsString(const String&) = 0; |
virtual bool needsSynchronizeAttribute() = 0; |
virtual void synchronizeAttribute(); |
@@ -143,14 +143,9 @@ public: |
return m_currentValue; |
} |
- void setBaseValueAsString(const String& value, SVGParsingError& parseError) override |
+ SVGParsingError setBaseValueAsString(const String& value) override |
{ |
- TrackExceptionState es; |
- |
- m_baseValue->setValueAsString(value, es); |
- |
- if (es.hadException()) |
- parseError = ParsingAttributeFailedError; |
+ return m_baseValue->setValueAsString(value); |
} |
PassRefPtrWillBeRawPtr<SVGPropertyBase> createAnimatedValue() override |