| Index: Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp b/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| index 7c69cc0faa1b697987be43de2567a44058b44f3b..fa23796a3bb037b467ac8aac32280ff1f2fcd039 100644
|
| --- a/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| @@ -37,6 +37,7 @@
|
| #include "core/frame/FrameHost.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
| #include "core/inspector/ScriptCallStack.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -68,7 +69,7 @@ AtomicString V8CustomXPathNSResolver::lookupNamespaceURI(const String& prefix)
|
| if (lookupNamespaceURIFunc.IsEmpty() && !m_resolver->IsFunction()) {
|
| LocalFrame* frame = callingDOMWindow(m_isolate)->frame();
|
| if (frame && frame->host())
|
| - frame->console().addMessage(JSMessageSource, ErrorMessageLevel, "XPathNSResolver does not have a lookupNamespaceURI method.");
|
| + frame->console().addMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, "XPathNSResolver does not have a lookupNamespaceURI method."));
|
| return nullAtom;
|
| }
|
|
|
|
|