| Index: Source/core/page/DOMSelection.cpp
|
| diff --git a/Source/core/page/DOMSelection.cpp b/Source/core/page/DOMSelection.cpp
|
| index a32cc8024d2e40cbfb8ecc6ee1a9d062c6c83a99..fcf77f4c6521653f1d76c2849f028c4ec1614a08 100644
|
| --- a/Source/core/page/DOMSelection.cpp
|
| +++ b/Source/core/page/DOMSelection.cpp
|
| @@ -43,6 +43,7 @@
|
| #include "core/editing/TextIterator.h"
|
| #include "core/editing/htmlediting.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace WebCore {
|
| @@ -562,7 +563,7 @@ bool DOMSelection::isValidForPosition(Node* node) const
|
| void DOMSelection::addConsoleError(const String& message)
|
| {
|
| if (m_treeScope)
|
| - m_treeScope->document().addConsoleMessage(JSMessageSource, ErrorMessageLevel, message);
|
| + m_treeScope->document().addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, message));
|
| }
|
|
|
| } // namespace WebCore
|
|
|