| Index: chrome/browser/search_engines/template_url_fetcher_factory.cc
|
| diff --git a/chrome/browser/search_engines/template_url_fetcher_factory.cc b/chrome/browser/search_engines/template_url_fetcher_factory.cc
|
| index 0d933859a37840f7c0c867bbaaab0a26c1aeb940..0a05834996e7cff5dc6dbffcfd022902c6ab7769 100644
|
| --- a/chrome/browser/search_engines/template_url_fetcher_factory.cc
|
| +++ b/chrome/browser/search_engines/template_url_fetcher_factory.cc
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
| #include "components/search_engines/template_url_fetcher.h"
|
| +#include "content/public/browser/storage_partition.h"
|
|
|
| // static
|
| TemplateURLFetcher* TemplateURLFetcherFactory::GetForProfile(
|
| @@ -43,7 +44,8 @@ KeyedService* TemplateURLFetcherFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| return new TemplateURLFetcher(
|
| TemplateURLServiceFactory::GetForProfile(static_cast<Profile*>(profile)),
|
| - profile->GetRequestContext());
|
| + content::BrowserContext::GetDefaultStoragePartition(profile)->
|
| + GetURLRequestContext());
|
| }
|
|
|
| content::BrowserContext* TemplateURLFetcherFactory::GetBrowserContextToUse(
|
|
|