commit | a34d11324e0767acd94d8754e3a117e072492cf4 | [log] [tgz] |
---|---|---|
author | vmpstr <[email protected]> | Mon Mar 21 20:28:47 2016 |
committer | Commit bot <[email protected]> | Mon Mar 21 20:30:28 2016 |
tree | ac723766c79172c76341b45aab9c1914169b4466 | |
parent | 8a2f463d3726f944f5ec279664b25118fd3ccf3c [diff] [blame] |
Add RetainedRef uses where needed. This patch adds RetainedRef uses where they are required. These changes will be required when we remove automatic unwrapping of scoped_refptrs in Bind. Please see the bug for more context. [email protected], [email protected], [email protected] BUG=589048 Review URL: https://codereview.chromium.org/1815363002 Cr-Commit-Position: refs/heads/master@{#382371}
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc index d194211..445a60e 100644 --- a/ipc/ipc_sync_channel.cc +++ b/ipc/ipc_sync_channel.cc
@@ -80,7 +80,7 @@ if (!was_task_pending) { listener_task_runner_->PostTask( FROM_HERE, base::Bind(&ReceivedSyncMsgQueue::DispatchMessagesTask, - this, scoped_refptr<SyncContext>(context))); + this, base::RetainedRef(context))); } }