#include "bindings/v8/V8Binding.h"
#include "core/dom/ExecutionContext.h"
#include "core/frame/DOMWindow.h"
+#include "core/frame/FrameConsole.h"
#include "core/frame/FrameHost.h"
#include "core/frame/LocalFrame.h"
-#include "core/frame/PageConsole.h"
#include "core/inspector/ScriptCallStack.h"
#include "wtf/text/WTFString.h"
if (lookupNamespaceURIFunc.IsEmpty() && !m_resolver->IsFunction()) {
LocalFrame* frame = callingDOMWindow(m_isolate)->frame();
if (frame && frame->host())
- frame->host()->console().addMessage(JSMessageSource, ErrorMessageLevel, "XPathNSResolver does not have a lookupNamespaceURI method.");
+ frame->console().addMessage(JSMessageSource, ErrorMessageLevel, "XPathNSResolver does not have a lookupNamespaceURI method.");
return nullAtom;
}
if (tryCatch.HasCaught())
return nullAtom;
- V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithNullCheck>, returnString, retval, nullAtom);
+ TOSTRING_DEFAULT(V8StringResource<WithNullCheck>, returnString, retval, nullAtom);
return returnString;
}