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

Unified Diff: content/browser/utility_process_host_impl.cc

Issue 504273002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 16a42d6a30dd14d3fa81835af23ca3e75b287e51..2c86e917814aa31ead60f52d66f38bac63b4473c 100644
--- a/content/browser/utility_process_host_impl.cc
+++ b/content/browser/utility_process_host_impl.cc
@@ -268,7 +268,7 @@ bool UtilityProcessHostImpl::StartProcess() {
}
bool UtilityProcessHostImpl::OnMessageReceived(const IPC::Message& message) {
- if (!client_)
+ if (!client_.get())
return true;
client_task_runner_->PostTask(
@@ -282,7 +282,7 @@ bool UtilityProcessHostImpl::OnMessageReceived(const IPC::Message& message) {
}
void UtilityProcessHostImpl::OnProcessLaunchFailed() {
- if (!client_)
+ if (!client_.get())
return;
client_task_runner_->PostTask(
@@ -292,7 +292,7 @@ void UtilityProcessHostImpl::OnProcessLaunchFailed() {
}
void UtilityProcessHostImpl::OnProcessCrashed(int exit_code) {
- if (!client_)
+ if (!client_.get())
return;
client_task_runner_->PostTask(
« no previous file with comments | « content/browser/transition_request_manager.cc ('k') | content/browser/web_contents/web_contents_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698