Index: content/worker/websharedworker_stub.cc |
diff --git a/content/worker/websharedworker_stub.cc b/content/worker/websharedworker_stub.cc |
index 5e23d1adb793f1fc6ab916e96647c66c612bfce5..745b63c1956abf61d13cd564e4ef1667c38fa23b 100644 |
--- a/content/worker/websharedworker_stub.cc |
+++ b/content/worker/websharedworker_stub.cc |
@@ -107,8 +107,10 @@ void WebSharedWorkerStub::OnStartWorkerContext( |
void WebSharedWorkerStub::OnConnect(int sent_message_port_id, int routing_id) { |
if (started_) { |
- WebKit::WebMessagePortChannel* channel = new WebMessagePortChannelImpl( |
- routing_id, sent_message_port_id, base::MessageLoopProxy::current()); |
+ WebKit::WebMessagePortChannel* channel = |
+ new WebMessagePortChannelImpl(routing_id, |
+ sent_message_port_id, |
+ base::MessageLoopProxy::current().get()); |
impl_->connect(channel, NULL); |
} else { |
// If two documents try to load a SharedWorker at the same time, the |