Index: third_party/WebKit/Source/core/svg/SVGRect.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGRect.h b/third_party/WebKit/Source/core/svg/SVGRect.h |
index 88d9c7743a16a209ab23b0e32aaa3e77a84ddaa8..bee8df8fe578b4c1d8deb1149a9d9b6017581162 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGRect.h |
+++ b/third_party/WebKit/Source/core/svg/SVGRect.h |
@@ -20,6 +20,7 @@ |
#ifndef SVGRect_h |
#define SVGRect_h |
+#include "core/svg/SVGParsingError.h" |
#include "core/svg/properties/SVGPropertyHelper.h" |
#include "platform/geometry/FloatRect.h" |
#include "wtf/Allocator.h" |
@@ -64,7 +65,7 @@ public: |
void setHeight(float f) { m_value.setHeight(f); } |
String valueAsString() const override; |
- void setValueAsString(const String&, ExceptionState&); |
+ SVGParsingError setValueAsString(const String&); |
void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override; |
void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override; |
@@ -80,7 +81,7 @@ private: |
SVGRect(const FloatRect&); |
template<typename CharType> |
- void parse(const CharType*& ptr, const CharType* end, ExceptionState&); |
+ bool parse(const CharType*& ptr, const CharType* end); |
bool m_isValid; |
FloatRect m_value; |