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 2e2133935801bc739eac56d46950ff10af6ff133..07c7cca90ddd21bb2f68e76eee597d9cdddb3726 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -711,25 +711,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()); |