Index: content/browser/web_contents/render_view_host_manager_unittest.cc |
diff --git a/content/browser/web_contents/render_view_host_manager_unittest.cc b/content/browser/web_contents/render_view_host_manager_unittest.cc |
index ea35e6ba05f5e0931f45df0b4b2e530563d2a2c3..cc15d9a84a673c16ce14df42c1946da35008c40d 100644 |
--- a/content/browser/web_contents/render_view_host_manager_unittest.cc |
+++ b/content/browser/web_contents/render_view_host_manager_unittest.cc |
@@ -946,7 +946,7 @@ TEST_F(RenderViewHostManagerTest, PageDoesBackAndReload) { |
EXPECT_EQ(evil_rvh, contents()->GetRenderManagerForTesting()->current_host()); |
// Also we should not have a pending navigation entry. |
Charlie Reis
2013/08/16 22:10:14
Can you add a check that GetPendingEntry is null?
nasko
2013/09/12 17:56:31
Done.
|
- NavigationEntry* entry = contents()->GetController().GetActiveEntry(); |
+ NavigationEntry* entry = contents()->GetController().GetVisibleEntry(); |
ASSERT_TRUE(entry != NULL); |
EXPECT_EQ(kUrl2, entry->GetURL()); |
} |