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

Unified Diff: third_party/WebKit/Source/core/dom/MessagePort.cpp

Issue 1974613002: Remove code that was only used by navigator.connect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 4 years, 7 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/Source/core/dom/MessagePort.cpp
diff --git a/third_party/WebKit/Source/core/dom/MessagePort.cpp b/third_party/WebKit/Source/core/dom/MessagePort.cpp
index 94fb61b9e220874153fac78f8ead1f3659f41885..36de6e479d4e570311d3f5b40cd9cb6a08954f39 100644
--- a/third_party/WebKit/Source/core/dom/MessagePort.cpp
+++ b/third_party/WebKit/Source/core/dom/MessagePort.cpp
@@ -273,20 +273,4 @@ DEFINE_TRACE(MessagePort)
EventTargetWithInlineData::trace(visitor);
}
-v8::Isolate* MessagePort::scriptIsolate()
-{
- DCHECK(getExecutionContext());
- return toIsolate(getExecutionContext());
-}
-
-v8::Local<v8::Context> MessagePort::scriptContextForMessageConversion()
-{
- DCHECK(getExecutionContext());
- if (!m_scriptStateForConversion) {
- v8::Isolate* isolate = scriptIsolate();
- m_scriptStateForConversion = ScriptState::create(v8::Context::New(isolate), DOMWrapperWorld::create(isolate));
- }
- return m_scriptStateForConversion->context();
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/MessagePort.h ('k') | third_party/WebKit/public/platform/WebMessagePortChannelClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698