| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index b9fdefc5cf29e20ac2d1ee4508ce7959bb473841..a8e2c81aa495b236f280194a92ce8c5cc8160550 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -710,25 +710,6 @@ void WebLocalFrameImpl::dispatchUnloadEvent()
|
| frame()->loader().dispatchUnloadEvent();
|
| }
|
|
|
| -NPObject* WebLocalFrameImpl::windowObject() const
|
| -{
|
| - if (!frame() || ScriptForbiddenScope::isScriptForbidden())
|
| - return 0;
|
| - return frame()->script().windowScriptNPObject();
|
| -}
|
| -
|
| -void WebLocalFrameImpl::bindToWindowObject(const WebString& name, NPObject* object)
|
| -{
|
| - bindToWindowObject(name, object, 0);
|
| -}
|
| -
|
| -void WebLocalFrameImpl::bindToWindowObject(const WebString& name, NPObject* object, void*)
|
| -{
|
| - if (!frame() || !frame()->script().canExecuteScripts(NotAboutToExecuteScript))
|
| - return;
|
| - frame()->script().bindToWindowObject(frame(), String(name), object);
|
| -}
|
| -
|
| void WebLocalFrameImpl::executeScript(const WebScriptSource& source)
|
| {
|
| ASSERT(frame());
|
|
|