Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: third_party/WebKit/public/web/WebRemoteFrame.h

Issue 2626183003: Switch RemoteWindowProxy to use v8::Context::NewRemoteContext. (Closed)
Patch Set: comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9f3b4e5254cd958aa857a2edd06f25c46aa0907a..6a9c9f50a4f75cb2c5258e02c01dcaafd443d610 100644
--- a/third_party/WebKit/public/web/WebRemoteFrame.h
+++ b/third_party/WebKit/public/web/WebRemoteFrame.h
@@ -10,6 +10,7 @@
#include "public/web/WebContentSecurityPolicy.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) {}

Powered by Google App Engine
This is Rietveld 408576698