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( |