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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLength.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/SVGLength.h
diff --git a/third_party/WebKit/Source/core/svg/SVGLength.h b/third_party/WebKit/Source/core/svg/SVGLength.h
index dc17da63b7dd8a0287e64bd0480698b836db37f5..398d5edcc10594a7143ea5dec554374e3f1cebb3 100644
--- a/third_party/WebKit/Source/core/svg/SVGLength.h
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h
@@ -23,12 +23,12 @@
#include "core/css/CSSPrimitiveValue.h"
#include "core/svg/SVGLengthContext.h"
+#include "core/svg/SVGParsingError.h"
#include "core/svg/properties/SVGProperty.h"
#include "platform/heap/Handle.h"
namespace blink {
-class ExceptionState;
class QualifiedName;
class SVGLengthTearOff;
@@ -75,7 +75,7 @@ public:
float scaleByPercentage(float) const;
String valueAsString() const override;
- void setValueAsString(const String&, ExceptionState&);
+ SVGParsingError setValueAsString(const String&);
void newValueSpecifiedUnits(CSSPrimitiveValue::UnitType, float valueInSpecifiedUnits);
void convertToSpecifiedUnits(CSSPrimitiveValue::UnitType, const SVGLengthContext&);

Powered by Google App Engine
This is Rietveld 408576698