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 1f2cb4a0eb8dca2a3d279c795ed100c1efb63c43..4c75fc8a1c2bb8f5600c620264110520161c3311 100644 |
--- a/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc |
+++ b/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc |
@@ -17,7 +17,6 @@ |
#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) |
@@ -54,8 +53,7 @@ |
content::BrowserContext* context) const { |
Profile* profile = Profile::FromBrowserContext(context); |
scoped_refptr<net::URLRequestContextGetter> request_context = |
- content::BrowserContext::GetDefaultStoragePartition(context)-> |
- GetURLRequestContext(); |
+ context->GetRequestContext(); |
SuggestionsService* suggestions_service = |
SuggestionsServiceFactory::GetForProfile(profile); |