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 b7fd7ba5bc6621268332144bdb245528097cb91b..a1949d3f38c9295b1ad286fb0cc6b66cf524917e 100644 |
--- a/content/public/test/browser_test_utils.cc |
+++ b/content/public/test/browser_test_utils.cc |
@@ -299,7 +299,7 @@ void CrashTab(WebContents* web_contents) { |
RenderProcessHost* rph = web_contents->GetRenderProcessHost(); |
RenderProcessHostWatcher watcher( |
rph, RenderProcessHostWatcher::WATCH_FOR_PROCESS_EXIT); |
- base::KillProcess(rph->GetHandle(), 0, false); |
+ rph->Shutdown(0, false); |
watcher.Wait(); |
} |