Index: third_party/WebKit/Source/core/svg/SVGString.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGString.h b/third_party/WebKit/Source/core/svg/SVGString.h |
index d7472ff1fd6d4526b672ac45f0416917fa00217b..7388e990063eef8190962d5d24085b8fc3f80363 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGString.h |
+++ b/third_party/WebKit/Source/core/svg/SVGString.h |
@@ -31,12 +31,11 @@ |
#ifndef SVGString_h |
#define SVGString_h |
+#include "core/svg/SVGParsingError.h" |
#include "core/svg/properties/SVGProperty.h" |
namespace blink { |
-class ExceptionState; |
- |
class SVGString : public SVGPropertyBase { |
public: |
// SVGString does not have a tear-off type. |
@@ -60,7 +59,11 @@ public: |
} |
String valueAsString() const override { return m_value; } |
- void setValueAsString(const String& value, ExceptionState&) { m_value = value; } |
+ SVGParsingError setValueAsString(const String& value) |
+ { |
+ m_value = value; |
+ return NoError; |
+ } |
void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override; |
void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*) override; |