Chromium Code Reviews| Index: content/public/test/browser_test_utils.cc |
| diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc |
| index f16b854fc707bbd9141510ca527da68ba748472c..19b5070254425810d918a92f3ee60022caff9306 100644 |
| --- a/content/public/test/browser_test_utils.cc |
| +++ b/content/public/test/browser_test_utils.cc |
| @@ -214,9 +214,11 @@ void WaitForLoadStop(WebContents* web_contents) { |
| void CrashTab(WebContents* web_contents) { |
| RenderProcessHost* rph = web_contents->GetRenderProcessHost(); |
| WindowedNotificationObserver observer( |
| - NOTIFICATION_RENDERER_PROCESS_CLOSED, |
| + NOTIFICATION_RENDERER_PROCESS_TERMINATED, |
|
ncarter (slow)
2013/11/12 03:38:26
Change this back to to NOTIFICATION_RENDERER_PROCE
Charlie Reis
2013/11/12 16:09:35
Done.
|
| Source<RenderProcessHost>(rph)); |
| + LOG(INFO) << "CrashTab: Calling KillProcess."; |
| base::KillProcess(rph->GetHandle(), 0, false); |
| + LOG(INFO) << "CrashTab: Waiting for process to exit..."; |
| observer.Wait(); |
| } |