Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
index 9b8ed4f370e6ca506e97802716d37cdda9a16b89..e43dcc018993fe6a35947797b82768508daa9abc 100644 |
--- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
@@ -4,8 +4,6 @@ |
#include "web/WebRemoteFrameImpl.h" |
-#include "bindings/core/v8/DOMWrapperWorld.h" |
-#include "bindings/core/v8/WindowProxy.h" |
#include "core/dom/Fullscreen.h" |
#include "core/dom/RemoteSecurityContext.h" |
#include "core/dom/SecurityContext.h" |
@@ -23,10 +21,10 @@ |
#include "public/web/WebPerformance.h" |
#include "public/web/WebRange.h" |
#include "public/web/WebTreeScopeType.h" |
-#include "v8/include/v8.h" |
#include "web/RemoteFrameOwner.h" |
#include "web/WebLocalFrameImpl.h" |
#include "web/WebViewImpl.h" |
+#include <v8/include/v8.h> |
namespace blink { |
@@ -212,6 +210,11 @@ |
v8::Local<v8::Context> WebRemoteFrameImpl::mainWorldScriptContext() const { |
NOTREACHED(); |
return v8::Local<v8::Context>(); |
+} |
+ |
+v8::Local<v8::Context> WebRemoteFrameImpl::deprecatedMainWorldScriptContext() |
+ const { |
+ return toV8Context(frame(), DOMWrapperWorld::mainWorld()); |
} |
void WebRemoteFrameImpl::reload(WebFrameLoadType) { |
@@ -523,12 +526,6 @@ |
frame()->setDocumentHasReceivedUserGesture(); |
} |
-v8::Local<v8::Object> WebRemoteFrameImpl::globalProxy() const { |
- return frame() |
- ->windowProxy(DOMWrapperWorld::mainWorld()) |
- ->globalIfNotDetached(); |
-} |
- |
WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, |
WebRemoteFrameClient* client) |
: WebRemoteFrame(scope), |