2015-01-13 18:38:49 +01:00
|
|
|
diff --git render_process_host_impl.cc render_process_host_impl.cc
|
2015-06-06 00:06:48 +02:00
|
|
|
index f32d2bb..9874d50 100644
|
2015-01-13 18:38:49 +01:00
|
|
|
--- render_process_host_impl.cc
|
|
|
|
+++ render_process_host_impl.cc
|
2015-06-06 00:06:48 +02:00
|
|
|
@@ -2120,6 +2120,8 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
2015-01-13 18:38:49 +01:00
|
|
|
#endif
|
|
|
|
RemoveUserData(kSessionStorageHolderKey);
|
|
|
|
|
|
|
|
+ mojo_application_host_.reset(new MojoApplicationHost);
|
|
|
|
+
|
|
|
|
IDMap<IPC::Listener>::iterator iter(&listeners_);
|
|
|
|
while (!iter.IsAtEnd()) {
|
|
|
|
iter.GetCurrentValue()->OnMessageReceived(
|
2015-06-06 00:06:48 +02:00
|
|
|
@@ -2129,8 +2131,6 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
2015-01-13 18:38:49 +01:00
|
|
|
iter.Advance();
|
|
|
|
}
|
|
|
|
|
|
|
|
- mojo_application_host_.reset(new MojoApplicationHost);
|
|
|
|
-
|
|
|
|
// It's possible that one of the calls out to the observers might have caused
|
|
|
|
// this object to be no longer needed.
|
|
|
|
if (delayed_cleanup_needed_)
|