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

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

Issue 8004001: Fix for a crash in ChildProcessLauncher::GetChildTerminationStatus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 3 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/browser_render_process_host.cc
===================================================================
--- content/browser/renderer_host/browser_render_process_host.cc (revision 102206)
+++ content/browser/renderer_host/browser_render_process_host.cc (working copy)
@@ -844,10 +844,10 @@
void BrowserRenderProcessHost::OnWaitableEventSignaled(
base::WaitableEvent* waitable_event) {
#if defined (OS_WIN)
- DCHECK(child_process_launcher_.get());
int exit_code = 0;
base::TerminationStatus status =
- child_process_launcher_->GetChildTerminationStatus(&exit_code);
+ base::GetTerminationStatus(waitable_event->Release(), &exit_code);
+ delete waitable_event;
ProcessDied(status, exit_code, true);
#endif
}
« 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