Index: third_party/WebKit/Source/core/svg/SVGElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
index 5a55cf203e3dec6ec8cb9bca13e283d47afc1aa5..01122159d3d2539b4032827eb33e85ec7ebcba64 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
@@ -188,6 +188,9 @@ void SVGElement::reportAttributeParsingError(SVGParsingError error, const Qualif |
{ |
if (error == SVGParseStatus::NoError) |
return; |
+ // Don't report any errors on attribute removal. |
+ if (value.isNull()) |
+ return; |
document().accessSVGExtensions().reportError(error.format(tagName(), name, value)); |
} |