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

Unified Diff: content/child/webmessageportchannel_impl.cc

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/webmessageportchannel_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webmessageportchannel_impl.cc
diff --git a/content/child/webmessageportchannel_impl.cc b/content/child/webmessageportchannel_impl.cc
index ec6581b25781057dabcc4f6b8bc583c3cf51f4cf..dbdc2f38eb66102d9b14ea952091ac530b7e976e 100644
--- a/content/child/webmessageportchannel_impl.cc
+++ b/content/child/webmessageportchannel_impl.cc
@@ -20,7 +20,7 @@ using blink::WebString;
namespace content {
WebMessagePortChannelImpl::WebMessagePortChannelImpl(
- base::MessageLoopProxy* child_thread_loop)
+ const scoped_refptr<base::MessageLoopProxy>& child_thread_loop)
: client_(NULL),
route_id_(MSG_ROUTING_NONE),
message_port_id_(MSG_ROUTING_NONE),
@@ -32,7 +32,7 @@ WebMessagePortChannelImpl::WebMessagePortChannelImpl(
WebMessagePortChannelImpl::WebMessagePortChannelImpl(
int route_id,
int message_port_id,
- base::MessageLoopProxy* child_thread_loop)
+ const scoped_refptr<base::MessageLoopProxy>& child_thread_loop)
: client_(NULL),
route_id_(route_id),
message_port_id_(message_port_id),
@@ -61,7 +61,7 @@ WebMessagePortChannelImpl::~WebMessagePortChannelImpl() {
// static
void WebMessagePortChannelImpl::CreatePair(
- base::MessageLoopProxy* child_thread_loop,
+ const scoped_refptr<base::MessageLoopProxy>& child_thread_loop,
blink::WebMessagePortChannel** channel1,
blink::WebMessagePortChannel** channel2) {
WebMessagePortChannelImpl* impl1 =
« no previous file with comments | « content/child/webmessageportchannel_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698