diff options
Diffstat (limited to 'content/browser/child_process_security_policy_browsertest.cc')
-rw-r--r-- | content/browser/child_process_security_policy_browsertest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/child_process_security_policy_browsertest.cc b/content/browser/child_process_security_policy_browsertest.cc index b509a49..c1e3c39 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( |