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

Unified Diff: gpu/ipc/client/gpu_channel_host.cc

Issue 2283373002: Remove unneeded scoped_refptr<>::get() on method binding (Closed)
Patch Set: Created 4 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 | « extensions/browser/sandboxed_unpacker_unittest.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/gpu_channel_host.cc
diff --git a/gpu/ipc/client/gpu_channel_host.cc b/gpu/ipc/client/gpu_channel_host.cc
index 876aa253b27489e15a1b1a228c8cc27e54567905..595f18bb97116fe6ef4c83f299993cf15f1d5a07 100644
--- a/gpu/ipc/client/gpu_channel_host.cc
+++ b/gpu/ipc/client/gpu_channel_host.cc
@@ -208,7 +208,7 @@ void GpuChannelHost::AddRouteWithTaskRunner(
io_task_runner->PostTask(
FROM_HERE,
base::Bind(&GpuChannelHost::MessageFilter::AddRoute,
- channel_filter_.get(), route_id, listener, task_runner));
+ channel_filter_, route_id, listener, task_runner));
}
void GpuChannelHost::RemoveRoute(int route_id) {
@@ -216,7 +216,7 @@ void GpuChannelHost::RemoveRoute(int route_id) {
factory_->GetIOThreadTaskRunner();
io_task_runner->PostTask(
FROM_HERE, base::Bind(&GpuChannelHost::MessageFilter::RemoveRoute,
- channel_filter_.get(), route_id));
+ channel_filter_, route_id));
}
base::SharedMemoryHandle GpuChannelHost::ShareToGpuProcess(
« no previous file with comments | « extensions/browser/sandboxed_unpacker_unittest.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698