Index: content/browser/loader/resource_dispatcher_host_browsertest.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_browsertest.cc b/content/browser/loader/resource_dispatcher_host_browsertest.cc |
index a2af83b1caeef2b7191b53918846c130452be3c8..239da6961bf7cc2f23da15d5072f5d136348b271 100644 |
--- a/content/browser/loader/resource_dispatcher_host_browsertest.cc |
+++ b/content/browser/loader/resource_dispatcher_host_browsertest.cc |
@@ -301,6 +301,9 @@ IN_PROC_BROWSER_TEST_F(ResourceDispatcherHostBrowserTest, |
// complete and isn't conducive to quick turnarounds. As we don't currently |
// strip the app on the build bots, this is bad times. |
IN_PROC_BROWSER_TEST_F(ResourceDispatcherHostBrowserTest, CrossSiteAfterCrash) { |
+ // Make sure we have a live process before trying to kill it. |
+ NavigateToURL(shell(), GURL("about:blank")); |
+ |
// Cause the renderer to crash. |
RenderProcessHostWatcher crash_observer( |
shell()->web_contents(), |