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

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

Issue 292123015: Remove WebContents::IsActiveEntry from Instant Extended and from WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 6 years, 7 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: chrome/browser/ui/search/search_tab_helper.cc
diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
index 4bc699165bd9560349c9092b1c593742df850691..b117ad020d24c398cc3042ed0019dc3e3e713317 100644
--- a/chrome/browser/ui/search/search_tab_helper.cc
+++ b/chrome/browser/ui/search/search_tab_helper.cc
@@ -359,6 +359,9 @@ void SearchTabHelper::NavigationEntryCommitted(
model_.SetVoiceSearchSupported(false);
chrome::SetInstantSupportStateInNavigationEntry(model_.instant_support(),
entry);
+
+ if (InInstantProcess(profile(), web_contents_))
+ ipc_router_.OnNavigationEntryCommitted();
}
void SearchTabHelper::OnInstantSupportDetermined(bool supports_instant) {
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698