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

Unified Diff: Source/web/WebRemoteFrameImpl.cpp

Issue 1331213002: Expose the V8 script context from WebRemoteFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Changes based on Daniel's review. Created 5 years, 3 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
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebRemoteFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRemoteFrameImpl.cpp
diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
index c9f39fc79aac8de4a33a3323c6ce95f90ef82d17..e7932c45aa33a815e914a360b76d7bcaaefe55a8 100644
--- a/Source/web/WebRemoteFrameImpl.cpp
+++ b/Source/web/WebRemoteFrameImpl.cpp
@@ -285,6 +285,11 @@ v8::Local<v8::Context> WebRemoteFrameImpl::mainWorldScriptContext() const
return v8::Local<v8::Context>();
}
+v8::Local<v8::Context> WebRemoteFrameImpl::deprecatedMainWorldScriptContext() const
+{
+ return toV8Context(frame(), DOMWrapperWorld::mainWorld());
+}
+
void WebRemoteFrameImpl::reload(bool ignoreCache)
{
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698