Index: content/child/webmessageportchannel_impl.cc |
diff --git a/content/child/webmessageportchannel_impl.cc b/content/child/webmessageportchannel_impl.cc |
index d0824346ef24643a82a51628add90504536e462f..ade0d00beb1e3d1f7b42f7a4a9e6f3f45b36598c 100644 |
--- a/content/child/webmessageportchannel_impl.cc |
+++ b/content/child/webmessageportchannel_impl.cc |
@@ -211,8 +211,9 @@ void WebMessagePortChannelImpl::OnMessage( |
if (!sent_message_port_ids.empty()) { |
msg.ports.resize(sent_message_port_ids.size()); |
for (size_t i = 0; i < sent_message_port_ids.size(); ++i) { |
- msg.ports[i] = new WebMessagePortChannelImpl( |
- new_routing_ids[i], sent_message_port_ids[i], child_thread_loop_); |
+ msg.ports[i] = new WebMessagePortChannelImpl(new_routing_ids[i], |
+ sent_message_port_ids[i], |
+ child_thread_loop_.get()); |
} |
} |