| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| index 5a6a071cf05a0a30a9aaca505cc273a38dad38f4..f71d0cbe783c363ae5c2caf9272b822d4493a640 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
| @@ -65,8 +65,7 @@ AtomicString V8CustomXPathNSResolver::lookupNamespaceURI(const String& prefix) {
|
| lookupNamespaceURIFunc = v8::Local<v8::Function>::Cast(lookupNamespaceURI);
|
|
|
| if (lookupNamespaceURIFunc.IsEmpty() && !m_resolver->IsFunction()) {
|
| - LocalFrame* frame =
|
| - toLocalDOMWindow(toDOMWindow(m_scriptState->context()))->frame();
|
| + LocalFrame* frame = toDOMWindow(m_scriptState->context())->frame();
|
| if (frame && frame->host())
|
| frame->console().addMessage(ConsoleMessage::create(
|
| JSMessageSource, ErrorMessageLevel,
|
|
|