| Index: chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc
|
| diff --git a/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc b/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc
|
| index 4c75fc8a1c2bb8f5600c620264110520161c3311..1f2cb4a0eb8dca2a3d279c795ed100c1efb63c43 100644
|
| --- a/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc
|
| +++ b/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc
|
| @@ -17,6 +17,7 @@
|
| #include "components/version_info/version_info.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
|
|
| #if defined(OS_ANDROID)
|
| @@ -53,7 +54,8 @@ KeyedService* NTPSnippetsServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = Profile::FromBrowserContext(context);
|
| scoped_refptr<net::URLRequestContextGetter> request_context =
|
| - context->GetRequestContext();
|
| + content::BrowserContext::GetDefaultStoragePartition(context)->
|
| + GetURLRequestContext();
|
| SuggestionsService* suggestions_service =
|
| SuggestionsServiceFactory::GetForProfile(profile);
|
|
|
|
|