summaryrefslogtreecommitdiffstats
path: root/content/common/child_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/child_process_host.cc')
-rw-r--r--content/common/child_process_host.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/content/common/child_process_host.cc b/content/common/child_process_host.cc
index bcaca6d..b8a3b95 100644
--- a/content/common/child_process_host.cc
+++ b/content/common/child_process_host.cc
@@ -225,6 +225,10 @@ void ChildProcessHost::OnChildDied() {
delete this;
}
+void ChildProcessHost::OnChildDisconnected() {
+ OnChildDied();
+}
+
void ChildProcessHost::ShutdownStarted() {
}
@@ -301,7 +305,7 @@ void ChildProcessHost::ListenerHook::OnChannelError() {
host_->filters_[i]->OnChannelError();
// This will delete host_, which will also destroy this!
- host_->OnChildDied();
+ host_->OnChildDisconnected();
}
void ChildProcessHost::ForceShutdown() {