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

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 1815363002: Add RetainedRef uses where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: ipc/ipc_channel_proxy.cc
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index 5e702617e0de336d038803885cb8522282de9495..ab2672c44fcfb76a0b8fc3fa4b1cf7b473e99302 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -483,7 +483,7 @@ void ChannelProxy::RemoveFilter(MessageFilter* filter) {
context_->ipc_task_runner()->PostTask(
FROM_HERE, base::Bind(&Context::OnRemoveFilter, context_.get(),
- make_scoped_refptr(filter)));
+ base::RetainedRef(filter)));
}
void ChannelProxy::ClearIPCTaskRunner() {

Powered by Google App Engine
This is Rietveld 408576698