Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 662103002: Reset child_process_launcher after notifying observers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index a5e9dde5974c8f13d19ec19c1e750d62fc05f912..4bddba20880f2d83f3aff5a2861c247bbd75a323 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1903,7 +1903,6 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead) {
RendererClosedDetails details(GetHandle(), status, exit_code);
mojo_application_host_->WillDestroySoon();
- child_process_launcher_.reset();
no sievers 2014/10/17 19:08:29 This should already provide the old handle because
channel_.reset();
within_process_died_observer_ = true;
@@ -1916,6 +1915,7 @@ void RenderProcessHostImpl::ProcessDied(bool already_dead) {
RenderProcessExited(this, status, exit_code));
within_process_died_observer_ = false;
+ child_process_launcher_.reset();
gpu_message_filter_ = NULL;
message_port_message_filter_ = NULL;
RemoveUserData(kSessionStorageHolderKey);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698