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

Unified Diff: content/child/webmessageportchannel_impl.h

Issue 511183002: Manual fixups in content/child for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/child/thread_safe_sender.cc ('k') | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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).
« no previous file with comments | « content/child/thread_safe_sender.cc ('k') | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698