| Index: third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| index 9346b9825e98700a5b243b97c5cbc44e26b226d5..932ab3072adabd4a3479f2670d63efc7833c1e4f 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| @@ -51,8 +51,8 @@ SVGParsingError SVGAnimatedViewBoxRect::setBaseValueAsString(const String& value
|
| {
|
| SVGParsingError parseStatus = baseValue()->setValueAsString(value);
|
|
|
| - if (parseStatus == NoError && (baseValue()->width() < 0 || baseValue()->height() < 0)) {
|
| - parseStatus = NegativeValueForbiddenError;
|
| + if (parseStatus == SVGParseStatus::NoError && (baseValue()->width() < 0 || baseValue()->height() < 0)) {
|
| + parseStatus = SVGParseStatus::NegativeValue;
|
| baseValue()->setInvalid();
|
| }
|
| return parseStatus;
|
|
|