Index: content/browser/utility_process_host.cc |
diff --git a/content/browser/utility_process_host.cc b/content/browser/utility_process_host.cc |
index 5f2e5a2dd28d22fb12ef789cc672e11e4f27708b..ec56c736e50d496341a5d7a3175dcf11e3a87333 100644 |
--- a/content/browser/utility_process_host.cc |
+++ b/content/browser/utility_process_host.cc |
@@ -53,6 +53,7 @@ UtilityProcessHost::UtilityProcessHost(Client* client, |
} |
UtilityProcessHost::~UtilityProcessHost() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
DCHECK(!is_batch_mode_); |
} |
@@ -158,7 +159,7 @@ bool UtilityProcessHost::OnMessageReceived(const IPC::Message& message) { |
return true; |
} |
-void UtilityProcessHost::OnProcessCrashed(int exit_code) { |
+void UtilityProcessHost::OnProcessCrashedOrWasKilled(int exit_code) { |
BrowserThread::PostTask( |
client_thread_id_, FROM_HERE, |
base::Bind(&Client::OnProcessCrashed, client_.get(), exit_code)); |