| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| ===================================================================
|
| --- content/browser/renderer_host/render_process_host_impl.cc (revision 127735)
|
| +++ content/browser/renderer_host/render_process_host_impl.cc (working copy)
|
| @@ -1224,6 +1224,13 @@
|
| // already handled the error.
|
|
|
| RendererClosedDetails details(handle, status, exit_code, was_alive);
|
| +
|
| +#if defined(OS_WIN)
|
| + // We must record data from handle before notifications, which can close the
|
| + // handle.
|
| + details.RecordProcessStats();
|
| +#endif // OS_WIN
|
| +
|
| content::NotificationService::current()->Notify(
|
| content::NOTIFICATION_RENDERER_PROCESS_CLOSED,
|
| content::Source<RenderProcessHost>(this),
|
|
|