Index: third_party/WebKit/public/web/WebRemoteFrame.h |
diff --git a/third_party/WebKit/public/web/WebRemoteFrame.h b/third_party/WebKit/public/web/WebRemoteFrame.h |
index 04659d03cc5668ba1cdefed96b19da8b3c8552f3..7ca1af3e874f9ba6da63f2895d244aba3e61c545 100644 |
--- a/third_party/WebKit/public/web/WebRemoteFrame.h |
+++ b/third_party/WebKit/public/web/WebRemoteFrame.h |
@@ -10,6 +10,7 @@ |
#include "public/platform/WebInsecureRequestPolicy.h" |
#include "public/web/WebFrame.h" |
#include "public/web/WebSandboxFlags.h" |
+#include "v8/include/v8.h" |
namespace blink { |
@@ -104,7 +105,7 @@ class WebRemoteFrame : public WebFrame { |
// Temporary method to allow embedders to get the script context of a |
// remote frame. This should only be used by legacy code that has not yet |
// migrated over to the new OOPI infrastructure. |
- virtual v8::Local<v8::Context> deprecatedMainWorldScriptContext() const = 0; |
+ virtual v8::Local<v8::Object> globalProxy() const = 0; |
protected: |
explicit WebRemoteFrame(WebTreeScopeType scope) : WebFrame(scope) {} |