Index: chrome/browser/policy/policy_browsertest.cc |
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
index 939d360d133352da43fca46b82c7675a028979ca..5fb45710da48bc224b8d1e55c5cf0d80fa59649d 100644 |
--- a/chrome/browser/policy/policy_browsertest.cc |
+++ b/chrome/browser/policy/policy_browsertest.cc |
@@ -1819,8 +1819,8 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, ExtensionInstallForcelist) { |
extensions::ExtensionHost* extension_host = |
extensions::ProcessManager::Get(browser()->profile()) |
->GetBackgroundHostForExtension(kGoodCrxId); |
- base::KillProcess(extension_host->render_process_host()->GetHandle(), |
- content::RESULT_CODE_KILLED, false); |
+ extension_host->render_process_host()->FastShutdown( |
+ content::RESULT_CODE_KILLED, false); |
extension_crashed_observer.Wait(); |
extension_loaded_observer.Wait(); |
} |