Chromium Code Reviews| Index: chrome/browser/instant/instant_loader.cc |
| =================================================================== |
| --- chrome/browser/instant/instant_loader.cc (revision 131375) |
| +++ chrome/browser/instant/instant_loader.cc (working copy) |
| @@ -1129,7 +1129,8 @@ |
| // TODO(sky): having to use a replaceable url is a bit of a hack here. |
| GURL instant_url( |
| template_url->instant_url_ref().ReplaceSearchTermsUsingProfile( |
| - tab_contents->profile(), string16(), -1, string16())); |
| + tab_contents->profile(), string16(), |
| + TemplateURLRef::NO_SUGGESTIONS_AVAILABLE, string16())); |
|
Peter Kasting
2012/04/10 01:24:33
sky, please make sure this value change (-1 == NO_
|
| CommandLine* cl = CommandLine::ForCurrentProcess(); |
| if (cl->HasSwitch(switches::kInstantURL)) |
| instant_url = GURL(cl->GetSwitchValueASCII(switches::kInstantURL)); |