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

Unified Diff: Source/core/dom/MessagePort.h

Issue 924983002: Expose v8 context a MessagePort lives in to give content side code a valid context to (de)serialize… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add a warning that this API should not be used Created 5 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
« no previous file with comments | « no previous file | Source/core/dom/MessagePort.cpp » ('j') | Source/core/dom/MessagePort.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MessagePort.h
diff --git a/Source/core/dom/MessagePort.h b/Source/core/dom/MessagePort.h
index 69e6565ad5ef94f62d2a6550878394d00f6816fd..9e1601ef9ca115ac20c3cde60b89a839a0074f7f 100644
--- a/Source/core/dom/MessagePort.h
+++ b/Source/core/dom/MessagePort.h
@@ -112,6 +112,8 @@ private:
// WebMessagePortChannelClient implementation.
virtual void messageAvailable() override;
+ virtual v8::Isolate* scriptIsolate() override;
+ virtual v8::Handle<v8::Context> scriptContext() override;
void dispatchMessages();
OwnPtr<WebMessagePortChannel> m_entangledChannel;
« no previous file with comments | « no previous file | Source/core/dom/MessagePort.cpp » ('j') | Source/core/dom/MessagePort.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698