| Index: third_party/WebKit/Source/core/svg/SVGRect.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGRect.cpp b/third_party/WebKit/Source/core/svg/SVGRect.cpp
|
| index a8f6970264f1f56f3f2d6ee56e91448b72d0d768..328b59f36ff3cc8a76ee374229751ec4e96c00bb 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGRect.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGRect.cpp
|
| @@ -73,12 +73,12 @@ SVGParsingError SVGRect::setValueAsString(const String& string)
|
| setInvalid();
|
|
|
| if (string.isNull())
|
| - return NoError;
|
| + return SVGParseStatus::NoError;
|
|
|
| if (string.isEmpty()) {
|
| m_value = FloatRect(0.0f, 0.0f, 0.0f, 0.0f);
|
| m_isValid = true;
|
| - return NoError;
|
| + return SVGParseStatus::NoError;
|
| }
|
|
|
| bool valid;
|
| @@ -91,7 +91,7 @@ SVGParsingError SVGRect::setValueAsString(const String& string)
|
| const UChar* end = ptr + string.length();
|
| valid = parse(ptr, end);
|
| }
|
| - return valid ? NoError : ParsingAttributeFailedError;
|
| + return valid ? SVGParseStatus::NoError : SVGParseStatus::ParsingFailed;
|
| }
|
|
|
| String SVGRect::valueAsString() const
|
|
|