Index: third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
index 9f75d7814fef765ff0cc76f4b7ad850fe6b1a157..4f7ecf2ab64956f6568428c002036fdeb4e0a89b 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
@@ -49,7 +49,7 @@ public: |
return adoptRefWillBeNoop(new SVGAnimatedOrder(contextElement)); |
} |
- void setBaseValueAsString(const String&, SVGParsingError&) override; |
+ SVGParsingError setBaseValueAsString(const String&) override; |
protected: |
SVGAnimatedOrder(SVGElement* contextElement) |
@@ -58,15 +58,16 @@ protected: |
} |
}; |
-void SVGAnimatedOrder::setBaseValueAsString(const String& value, SVGParsingError& parseError) |
+SVGParsingError SVGAnimatedOrder::setBaseValueAsString(const String& value) |
{ |
- SVGAnimatedIntegerOptionalInteger::setBaseValueAsString(value, parseError); |
+ SVGParsingError parseStatus = SVGAnimatedIntegerOptionalInteger::setBaseValueAsString(value); |
ASSERT(contextElement()); |
- if (parseError == NoError && (firstInteger()->baseValue()->value() < 1 || secondInteger()->baseValue()->value() < 1)) { |
+ if (parseStatus == NoError && (firstInteger()->baseValue()->value() < 1 || secondInteger()->baseValue()->value() < 1)) { |
contextElement()->document().accessSVGExtensions().reportWarning( |
"feConvolveMatrix: problem parsing order=\"" + value + "\"."); |
} |
+ return parseStatus; |
} |
inline SVGFEConvolveMatrixElement::SVGFEConvolveMatrixElement(Document& document) |