Index: content/browser/web_contents/web_contents_impl_unittest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc |
index f34a093c3ae5f0032b29ccca99e72486c2c59eb6..46c9168aa429e15b50144f38653d90fcc3b7cc69 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -574,8 +574,9 @@ TEST_F(WebContentsImplTest, CrossSiteBoundariesAfterCrash) { |
EXPECT_FALSE(contents()->cross_navigation_pending()); |
EXPECT_EQ(orig_rfh->GetRenderViewHost(), contents()->GetRenderViewHost()); |
- // Crash the renderer. |
+ // Simulate a renderer crash. |
orig_rfh->GetRenderViewHost()->set_render_view_created(false); |
+ orig_rfh->set_render_frame_created(false); |
// Navigate to new site. We should not go into PENDING. |
const GURL url2("http://www.yahoo.com"); |