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

Unified Diff: content/browser/utility_process_host_impl.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
Index: content/browser/utility_process_host_impl.cc
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc
index c3752f2fc748405e87dfe0e4a44ec3b4b045c9cb..b76e5d572cce05e62fb0df4ef43acf709d5c7995 100644
--- a/content/browser/utility_process_host_impl.cc
+++ b/content/browser/utility_process_host_impl.cc
@@ -374,7 +374,7 @@ void UtilityProcessHostImpl::OnProcessLaunchFailed(int error_code) {
client_task_runner_->PostTask(
FROM_HERE,
base::Bind(&UtilityProcessHostClient::OnProcessLaunchFailed,
- client_.get(),
+ client_,
error_code));
}
@@ -384,7 +384,7 @@ void UtilityProcessHostImpl::OnProcessCrashed(int exit_code) {
client_task_runner_->PostTask(
FROM_HERE,
- base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(),
+ base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_,
exit_code));
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698