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

Unified Diff: chrome/browser/instant/instant_loader.cc

Issue 10537154: A working implementation of AQS (Assisted Query Stats). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed SupportsAssistedQueryStats. Created 8 years, 6 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/instant/instant_loader.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index 9cd55d3a5dfcc19be658c623a785a2cc405c300a..50ea068c2e6ad08c4a5ae4d79280f0d0fe5d656c 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -1136,7 +1136,7 @@ void InstantLoader::LoadInstantURL(const TemplateURL* template_url,
// correctly.
// TODO(sky): having to use a replaceable url is a bit of a hack here.
GURL instant_url(template_url->instant_url_ref().ReplaceSearchTerms(
- string16(), TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16()));
+ SearchTermsArgs(string16())));
CommandLine* cl = CommandLine::ForCurrentProcess();
if (cl->HasSwitch(switches::kInstantURL))
instant_url = GURL(cl->GetSwitchValueASCII(switches::kInstantURL));

Powered by Google App Engine
This is Rietveld 408576698