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

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 1432193002: Add std::unique_ptr conversions to scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: I wish my local build wasn't randomly broken Created 5 years, 1 month 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
Index: ipc/ipc_channel_proxy.cc
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index 84f87fc873365477af257b9dc5b64f2045417fca..755bb4787993efb05183f6eba501241cff741c31 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -420,7 +420,7 @@ void ChannelProxy::Init(scoped_ptr<ChannelFactory> factory,
} else {
context_->ipc_task_runner()->PostTask(
FROM_HERE, base::Bind(&Context::CreateChannel,
- context_.get(), Passed(factory.Pass())));
+ context_.get(), base::Passed(&factory)));
dcheng 2015/11/11 16:18:34 I didn't investigate why this triggers a compile e
}
// complete initialization on the background thread

Powered by Google App Engine
This is Rietveld 408576698