| Index: chrome/browser/extensions/window_open_apitest.cc
|
| diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc
|
| index a626e16e30a44d610f0a7029215b1fb8f4cc517a..aa34d26972a45b89647a70403cc5eb33d91e7181 100644
|
| --- a/chrome/browser/extensions/window_open_apitest.cc
|
| +++ b/chrome/browser/extensions/window_open_apitest.cc
|
| @@ -401,8 +401,8 @@ IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest, ClosePanelsOnExtensionCrash) {
|
| extensions::ProcessManager::Get(browser()->profile())
|
| ->GetBackgroundHostForExtension(extension->id());
|
| ASSERT_TRUE(extension_host);
|
| - base::KillProcess(extension_host->render_process_host()->GetHandle(),
|
| - content::RESULT_CODE_KILLED, false);
|
| + extension_host->render_process_host()->Shutdown(content::RESULT_CODE_KILLED,
|
| + false);
|
| WaitForExtensionCrash(extension->id());
|
|
|
| // Only expect panels to close. The rest stay open to show a sad-tab.
|
|
|