| Index: Source/core/html/HTMLShadowElement.cpp
|
| diff --git a/Source/core/html/HTMLShadowElement.cpp b/Source/core/html/HTMLShadowElement.cpp
|
| index e8e67469dce0f185782a9bc4928672d1af9b6574..ec28d2cf5cecd7258689f28feaad5bf6e8c49ef9 100644
|
| --- a/Source/core/html/HTMLShadowElement.cpp
|
| +++ b/Source/core/html/HTMLShadowElement.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "core/HTMLNames.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
|
|
| namespace blink {
|
|
|
| @@ -74,7 +75,7 @@ Node::InsertionNotificationRequest HTMLShadowElement::insertedInto(ContainerNode
|
| ShadowRoot* root = containingShadowRoot();
|
| if (root && root->olderShadowRoot() && root->type() != root->olderShadowRoot()->type()) {
|
| String message = String::format("<shadow> doesn't work for %s element host.", root->host()->tagName().utf8().data());
|
| - document().addConsoleMessage(RenderingMessageSource, WarningMessageLevel, message);
|
| + document().addConsoleMessage(ConsoleMessage::create(RenderingMessageSource, WarningMessageLevel, message));
|
| }
|
| }
|
| return InsertionPoint::insertedInto(insertionPoint);
|
|
|