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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.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/SVGPreserveAspectRatio.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
index 7474aca485510ced4d5f20c8a16c89bba97babfb..0bd39e08fe14bf393b89c0a4c56b2fab7e25e1dd 100644
--- a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
+++ b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
@@ -21,6 +21,7 @@
#ifndef SVGPreserveAspectRatio_h
#define SVGPreserveAspectRatio_h
+#include "core/svg/SVGParsingError.h"
#include "core/svg/properties/SVGPropertyHelper.h"
namespace blink {
@@ -76,7 +77,7 @@ public:
float physWidth, float physHeight) const;
String valueAsString() const override;
- virtual void setValueAsString(const String&, ExceptionState&);
+ SVGParsingError setValueAsString(const String&);
bool parse(const UChar*& ptr, const UChar* end, bool validate);
bool parse(const LChar*& ptr, const LChar* end, bool validate);

Powered by Google App Engine
This is Rietveld 408576698