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 b3066a8f6e676f0bfd7fda640e12e3fc76ea9fd1..abbfd5ecb8a27f930179f0d8552c5e9e8059f9cc 100644 |
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc |
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc |
@@ -142,6 +142,8 @@ void EmbeddedSharedWorkerStub::OnConnect(int sent_message_port_id, |
base::MessageLoopProxy::current().get()); |
if (runing_) { |
impl_->connect(channel); |
+ Send(new WorkerHostMsg_WorkerConnected(channel->message_port_id(), |
+ route_id_)); |
kinuko
2014/03/10 13:26:02
Should we add ConnectToChannel() method which alwa
horo
2014/03/11 01:14:12
Done.
|
} else { |
// If two documents try to load a SharedWorker at the same time, the |
// WorkerMsg_Connect for one of the documents can come in before the |