Chromium Code Reviews| Index: content/browser/frame_host/frame_tree_browsertest.cc |
| diff --git a/content/browser/frame_host/frame_tree_browsertest.cc b/content/browser/frame_host/frame_tree_browsertest.cc |
| index 9ce4131f87773a340eb7e7bcd837cd40803c5698..a1d670d185ed8298b208ed5bb20552941149e6ac 100644 |
| --- a/content/browser/frame_host/frame_tree_browsertest.cc |
| +++ b/content/browser/frame_host/frame_tree_browsertest.cc |
| @@ -135,7 +135,7 @@ IN_PROC_BROWSER_TEST_F(FrameTreeBrowserTest, FrameTreeAfterCrash) { |
| RenderProcessHostWatcher crash_observer( |
| shell()->web_contents(), |
| RenderProcessHostWatcher::WATCH_FOR_PROCESS_EXIT); |
| - NavigateToURL(shell(), GURL(kChromeUICrashURL)); |
| + shell()->web_contents()->GetMainFrame()->GetProcess()->Shutdown(0, false); |
|
Łukasz Anforowicz
2017/06/01 16:10:29
It's probably a good idea to check (probably via E
Charlie Reis
2017/06/01 17:04:16
Good idea. But this is one of the cases that ASSE
|
| crash_observer.Wait(); |
| // The frame tree should be cleared. |