Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: third_party/WebKit/Source/core/svg/SVGAngle.h

Issue 1544673003: Refactor propagation of parsing errors for SVG attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/SVGAngle.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAngle.h b/third_party/WebKit/Source/core/svg/SVGAngle.h
index 3a3ff8cb6aefc0dd64f96a1552cc827de407b1a1..a915f85063bc1d7b717f52675012b05c7058fbd3 100644
--- a/third_party/WebKit/Source/core/svg/SVGAngle.h
+++ b/third_party/WebKit/Source/core/svg/SVGAngle.h
@@ -23,6 +23,7 @@
#define SVGAngle_h
#include "core/svg/SVGEnumeration.h"
+#include "core/svg/SVGParsingError.h"
#include "core/svg/properties/SVGPropertyHelper.h"
#include "platform/heap/Handle.h"
@@ -103,7 +104,7 @@ public:
PassRefPtrWillBeRawPtr<SVGAngle> clone() const;
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;

Powered by Google App Engine
This is Rietveld 408576698