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

Unified Diff: chrome/browser/ui/search/instant_page_unittest.cc

Issue 66993003: Most references to GetActiveEntry removed from chrome/browser/ui. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: chrome/browser/ui/search/instant_page_unittest.cc
diff --git a/chrome/browser/ui/search/instant_page_unittest.cc b/chrome/browser/ui/search/instant_page_unittest.cc
index 4e2e4c2594836fb6304cdb8d3387345f12413e6a..95a79444542bba6f97d7bcabe504fca2810e603d 100644
--- a/chrome/browser/ui/search/instant_page_unittest.cc
+++ b/chrome/browser/ui/search/instant_page_unittest.cc
@@ -150,7 +150,7 @@ TEST_F(InstantPageTest, PageSupportsInstant) {
// Assume the page supports instant. Invoke the message reply handler to make
// sure the InstantPage is notified about the instant support state.
const content::NavigationEntry* entry =
- web_contents()->GetController().GetActiveEntry();
+ web_contents()->GetController().GetVisibleEntry();
nasko 2013/11/08 23:52:03 If we are receiving an IPC from the renderer, does
jww 2013/11/11 19:18:51 Done.
EXPECT_TRUE(entry);
SearchTabHelper::FromWebContents(web_contents())->InstantSupportChanged(true);
EXPECT_TRUE(page->supports_instant());

Powered by Google App Engine
This is Rietveld 408576698