Index: content/child/webmessageportchannel_impl.h |
diff --git a/content/child/webmessageportchannel_impl.h b/content/child/webmessageportchannel_impl.h |
index 01cd9276fd52d4e2345bdaa2a32a6f750d916c09..d66c7c6dee5f366c3a9645bec9644837ae822e36 100644 |
--- a/content/child/webmessageportchannel_impl.h |
+++ b/content/child/webmessageportchannel_impl.h |
@@ -28,14 +28,17 @@ class WebMessagePortChannelImpl |
public IPC::Listener, |
public base::RefCountedThreadSafe<WebMessagePortChannelImpl> { |
public: |
- explicit WebMessagePortChannelImpl(base::MessageLoopProxy* child_thread_loop); |
- WebMessagePortChannelImpl(int route_id, |
- int message_port_id, |
- base::MessageLoopProxy* child_thread_loop); |
- |
- static void CreatePair(base::MessageLoopProxy* child_thread_loop, |
- blink::WebMessagePortChannel** channel1, |
- blink::WebMessagePortChannel** channel2); |
+ explicit WebMessagePortChannelImpl( |
+ const scoped_refptr<base::MessageLoopProxy>& child_thread_loop); |
+ WebMessagePortChannelImpl( |
+ int route_id, |
+ int message_port_id, |
+ const scoped_refptr<base::MessageLoopProxy>& child_thread_loop); |
+ |
+ static void CreatePair( |
+ const scoped_refptr<base::MessageLoopProxy>& child_thread_loop, |
+ blink::WebMessagePortChannel** channel1, |
+ blink::WebMessagePortChannel** channel2); |
// Extracts port IDs for passing on to the browser process, and queues any |
// received messages. Takes ownership of the passed array (and deletes it). |