| Index: chrome/browser/instant/instant_loader.cc
|
| diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
|
| index fc348413487707e9b5b3526bbcf7ef897a991242..93df1bdf5001e426426e6f934e7c71fa23ad2ef7 100644
|
| --- a/chrome/browser/instant/instant_loader.cc
|
| +++ b/chrome/browser/instant/instant_loader.cc
|
| @@ -1021,7 +1021,7 @@ void InstantLoader::LoadInstantURL(TabContentsWrapper* tab_contents,
|
| // correctly.
|
| // TODO(sky): having to use a replaceable url is a bit of a hack here.
|
| GURL instant_url(template_url->instant_url()->ReplaceSearchTerms(
|
| - *template_url, string16(), -1, string16()));
|
| + tab_contents->profile(), *template_url, string16(), -1, string16()));
|
| CommandLine* cl = CommandLine::ForCurrentProcess();
|
| if (cl->HasSwitch(switches::kInstantURL))
|
| instant_url = GURL(cl->GetSwitchValueASCII(switches::kInstantURL));
|
|
|