Index: content/browser/child_process_security_policy_browsertest.cc |
diff --git a/content/browser/child_process_security_policy_browsertest.cc b/content/browser/child_process_security_policy_browsertest.cc |
index b509a494706db75d00ce067384b33c51a0435780..c1e3c3959e99b6020666d495c6f9c6ab42104634 100644 |
--- a/content/browser/child_process_security_policy_browsertest.cc |
+++ b/content/browser/child_process_security_policy_browsertest.cc |
@@ -48,8 +48,7 @@ IN_PROC_BROWSER_TEST_F(ChildProcessSecurityPolicyInProcessBrowserTest, NoLeak) { |
1U); |
WebContents* web_contents = shell()->web_contents(); |
- base::KillProcess(web_contents->GetRenderProcessHost()->GetHandle(), |
- RESULT_CODE_KILLED, true); |
+ web_contents->GetRenderProcessHost()->Shutdown(RESULT_CODE_KILLED, true); |
web_contents->GetController().Reload(true); |
EXPECT_EQ( |