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

Unified Diff: chrome/browser/search/instant_service.cc

Issue 2651763002: Cleanup in components/search and chrome/browser/search (Closed)
Patch Set: for each Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/search/search.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/instant_service.cc
diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc
index 3d5863dbb45a41b4987ce9f464745cb2a868e13c..4a1c3b142c8ca4076e58b0b8ee88481487c72826 100644
--- a/chrome/browser/search/instant_service.cc
+++ b/chrome/browser/search/instant_service.cc
@@ -502,7 +502,7 @@ void InstantService::TopSitesChanged(history::TopSites* top_sites,
}
void InstantService::ResetInstantSearchPrerendererIfNecessary() {
- if (!search::ShouldPrefetchSearchResults())
+ if (!search::IsInstantExtendedAPIEnabled())
return;
GURL url(search::GetSearchResultPrefetchBaseURL(profile_));
« no previous file with comments | « no previous file | chrome/browser/search/search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698