| 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 b2a5fb79897d8b5d2b9a94abed7aa0ba5cdc9830..dd0aac5f7c93c98152ba4de882f50508160d07cb 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -41,6 +41,7 @@
|
| #include "core/events/Event.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/html/HTMLElement.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/layout/svg/LayoutSVGResourceContainer.h"
|
| #include "core/svg/SVGDocumentExtensions.h"
|
| @@ -157,8 +158,9 @@ void SVGElement::reportAttributeParsingError(SVGParsingError error,
|
| // Don't report any errors on attribute removal.
|
| if (value.isNull())
|
| return;
|
| - document().accessSVGExtensions().reportError(
|
| - error.format(tagName(), name, value));
|
| + document().addConsoleMessage(
|
| + ConsoleMessage::create(RenderingMessageSource, ErrorMessageLevel,
|
| + "Error: " + error.format(tagName(), name, value)));
|
| }
|
|
|
| String SVGElement::title() const {
|
|
|