| Index: chrome/browser/search_engines/template_url_service_factory.cc
|
| diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc
|
| index 3b1c8d78f6ab51b0b5419a00365229fd04f91256..30391fe853639a6264b82fc8fb1d6e07d05516d0 100644
|
| --- a/chrome/browser/search_engines/template_url_service_factory.cc
|
| +++ b/chrome/browser/search_engines/template_url_service_factory.cc
|
| @@ -102,11 +102,7 @@ void TemplateURLServiceFactory::RegisterUserPrefs(
|
|
|
| content::BrowserContext* TemplateURLServiceFactory::GetBrowserContextToUse(
|
| content::BrowserContext* context) const {
|
| - // TODO(dougw): We need a separate instance of TemplateURLService in
|
| - // incognito profiles so that search-term-replacement can be disabled in
|
| - // incognito (see crbug.com/232065). Switch back to a shared instance once
|
| - // this is no longer necessary.
|
| - return chrome::GetBrowserContextOwnInstanceInIncognito(context);
|
| + return chrome::GetBrowserContextRedirectedInIncognito(context);
|
| }
|
|
|
| bool TemplateURLServiceFactory::ServiceIsNULLWhileTesting() const {
|
|
|