Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 25654005: Remove GetActiveEntry usage from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_unittest.cc
diff --git a/content/browser/renderer_host/render_view_host_unittest.cc b/content/browser/renderer_host/render_view_host_unittest.cc
index f4d694fae425b5883a77d1cf9bea28a0f55f6a92..6e702d5f224f233addab1e6126c523367277f90a 100644
--- a/content/browser/renderer_host/render_view_host_unittest.cc
+++ b/content/browser/renderer_host/render_view_host_unittest.cc
@@ -62,8 +62,8 @@ class RenderViewHostTest : public RenderViewHostImplTestHarness {
// See RenderViewHost::OnNavigate for a discussion.
TEST_F(RenderViewHostTest, FilterAbout) {
test_rvh()->SendNavigate(1, GURL("about:cache"));
- ASSERT_TRUE(controller().GetActiveEntry());
- EXPECT_EQ(GURL(kAboutBlankURL), controller().GetActiveEntry()->GetURL());
+ ASSERT_TRUE(controller().GetVisibleEntry());
+ EXPECT_EQ(GURL(kAboutBlankURL), controller().GetVisibleEntry()->GetURL());
}
// Create a full screen popup RenderWidgetHost and View.

Powered by Google App Engine
This is Rietveld 408576698