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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLengthList.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/SVGLengthList.h
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthList.h b/third_party/WebKit/Source/core/svg/SVGLengthList.h
index 55992d8be2a287349d33dffd88073d2782fc4cb8..be69fa707f1927bbe30987d7bf5e5efae1872a8e 100644
--- a/third_party/WebKit/Source/core/svg/SVGLengthList.h
+++ b/third_party/WebKit/Source/core/svg/SVGLengthList.h
@@ -31,8 +31,8 @@
#ifndef SVGLengthList_h
#define SVGLengthList_h
-#include "bindings/core/v8/ScriptWrappable.h"
#include "core/svg/SVGLength.h"
+#include "core/svg/SVGParsingError.h"
#include "core/svg/properties/SVGListPropertyHelper.h"
namespace blink {
@@ -50,7 +50,7 @@ public:
~SVGLengthList() override;
- void setValueAsString(const String&, ExceptionState&);
+ SVGParsingError setValueAsString(const String&);
// SVGPropertyBase:
PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
@@ -72,7 +72,7 @@ private:
PassRefPtrWillBeRawPtr<SVGLength> createPaddingItem() const override;
template <typename CharType>
- void parseInternal(const CharType*& ptr, const CharType* end, ExceptionState&);
+ SVGParsingError parseInternal(const CharType*& ptr, const CharType* end);
SVGLengthMode m_mode;
};

Powered by Google App Engine
This is Rietveld 408576698