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..9b7d9530da115db83f3bd3faef65e5452967bbc1 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().GetLastCommittedEntry(); |
EXPECT_TRUE(entry); |
SearchTabHelper::FromWebContents(web_contents())->InstantSupportChanged(true); |
EXPECT_TRUE(page->supports_instant()); |