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

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_stub.cc

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
« no previous file with comments | « content/public/common/message_port_types.cc ('k') | third_party/WebKit/Source/core/dom/MessagePort.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/shared_worker/embedded_shared_worker_stub.cc
diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.cc b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
index aaa64637c45601f6a001ec4bec5e83c2818f7a38..3d9818d715974fbe0db3488ff8ef4eadb1041035 100644
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
@@ -281,10 +281,8 @@ void EmbeddedSharedWorkerStub::ConnectToChannel(
new WorkerHostMsg_WorkerConnected(channel->message_port_id(), route_id_));
}
-void EmbeddedSharedWorkerStub::OnConnect(int sent_message_port_id,
+void EmbeddedSharedWorkerStub::OnConnect(int port,
int routing_id) {
- TransferredMessagePort port;
- port.id = sent_message_port_id;
WebMessagePortChannelImpl* channel = new WebMessagePortChannelImpl(
routing_id, port, base::ThreadTaskRunnerHandle::Get().get());
if (running_) {
« no previous file with comments | « content/public/common/message_port_types.cc ('k') | third_party/WebKit/Source/core/dom/MessagePort.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698