2015-01-13 17:38:49 +00:00
|
|
|
diff --git render_process_host_impl.cc render_process_host_impl.cc
|
2015-02-04 18:10:14 +00:00
|
|
|
index 37d745e..5723bdc 100644
|
2015-01-13 17:38:49 +00:00
|
|
|
--- render_process_host_impl.cc
|
|
|
|
+++ render_process_host_impl.cc
|
2015-02-04 18:10:14 +00:00
|
|
|
@@ -2065,6 +2065,8 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
2015-01-13 17:38:49 +00:00
|
|
|
#endif
|
|
|
|
RemoveUserData(kSessionStorageHolderKey);
|
|
|
|
|
|
|
|
+ mojo_application_host_.reset(new MojoApplicationHost);
|
|
|
|
+
|
|
|
|
IDMap<IPC::Listener>::iterator iter(&listeners_);
|
|
|
|
while (!iter.IsAtEnd()) {
|
|
|
|
iter.GetCurrentValue()->OnMessageReceived(
|
2015-02-04 18:10:14 +00:00
|
|
|
@@ -2074,8 +2076,6 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead,
|
2015-01-13 17:38:49 +00: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_)
|