| Index: third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| index 4b998361a0c8199db7290a9d47dbedadf85818fe..1a11c074b7f608088989eab0e80a0ed848a64e6c 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| @@ -158,11 +158,11 @@ void SVGLengthTearOff::setValueAsString(const String& str, ExceptionState& excep
|
|
|
| SVGParsingError status = target()->setValueAsString(str);
|
|
|
| - if (status == NoError && !hasExposedLengthUnit()) {
|
| + if (status == SVGStatus::NoError && !hasExposedLengthUnit()) {
|
| target()->setValueAsString(oldValue); // rollback to old value
|
| - status = ParsingAttributeFailedError;
|
| + status = SVGStatus::ParsingFailed;
|
| }
|
| - if (status != NoError) {
|
| + if (status != SVGStatus::NoError) {
|
| exceptionState.throwDOMException(SyntaxError, "The value provided ('" + str + "') is invalid.");
|
| return;
|
| }
|
|
|