Index: third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp |
index ee043be0c9bf62eebd295cb999d37db13d95ebcc..0125235469e137adfcd257e8ac2fbecad4bfd9c4 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp |
@@ -116,11 +116,11 @@ void SVGAngleTearOff::setValueAsString(const String& value, ExceptionState& exce |
SVGParsingError status = target()->setValueAsString(value); |
- if (status == NoError && !hasExposedAngleUnit()) { |
+ if (status == SVGParseStatus::NoError && !hasExposedAngleUnit()) { |
target()->setValueAsString(oldValue); // rollback to old value |
- status = ParsingAttributeFailedError; |
+ status = SVGParseStatus::ParsingFailed; |
} |
- if (status != NoError) { |
+ if (status != SVGParseStatus::NoError) { |
exceptionState.throwDOMException(SyntaxError, "The value provided ('" + value + "') is invalid."); |
return; |
} |