| Index: content/browser/browser_child_process_host.cc
|
| ===================================================================
|
| --- content/browser/browser_child_process_host.cc (revision 112509)
|
| +++ content/browser/browser_child_process_host.cc (working copy)
|
| @@ -228,9 +228,11 @@
|
| unsigned long exit_code = 0;
|
| GetExitCodeProcess(waitable_event->Release(), &exit_code);
|
| delete waitable_event;
|
| - if (exit_code == STILL_ACTIVE)
|
| + if (exit_code == STILL_ACTIVE) {
|
| OnChildDied();
|
| - BrowserChildProcessHost::OnChildDisconnected();
|
| + } else {
|
| + BrowserChildProcessHost::OnChildDisconnected();
|
| + }
|
| #endif
|
| }
|
|
|
|
|