Index: third_party/WebKit/Source/core/svg/SVGBoolean.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGBoolean.cpp b/third_party/WebKit/Source/core/svg/SVGBoolean.cpp |
index 5af4bd38a341d8eb63f0ffaca8d64bfd75010bcb..4ad5570223c13b982ce4acdd8e5139b1fd0e116e 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGBoolean.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGBoolean.cpp |
@@ -43,13 +43,13 @@ SVGParsingError SVGBoolean::setValueAsString(const String& value) |
{ |
if (value == "true") { |
m_value = true; |
- return NoError; |
+ return SVGParseStatus::NoError; |
} |
if (value == "false") { |
m_value = false; |
- return NoError; |
+ return SVGParseStatus::NoError; |
} |
- return ParsingAttributeFailedError; |
+ return SVGParseStatus::ExpectedBoolean; |
} |
void SVGBoolean::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) |