Index: content/browser/media/android/provision_fetcher_impl.cc |
diff --git a/content/browser/media/android/provision_fetcher_impl.cc b/content/browser/media/android/provision_fetcher_impl.cc |
index 6ca51d7c4176b48c6aa21b39e10dd867130266ac..38d8da66153e1f23389abceee79002847a52d87b 100644 |
--- a/content/browser/media/android/provision_fetcher_impl.cc |
+++ b/content/browser/media/android/provision_fetcher_impl.cc |
@@ -8,6 +8,7 @@ |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/render_frame_host.h" |
#include "content/public/browser/render_process_host.h" |
+#include "content/public/browser/storage_partition.h" |
#include "net/url_request/url_request_context_getter.h" |
namespace content { |
@@ -17,7 +18,9 @@ void ProvisionFetcherImpl::Create( |
RenderFrameHost* render_frame_host, |
mojo::InterfaceRequest<media::interfaces::ProvisionFetcher> request) { |
net::URLRequestContextGetter* context_getter = |
- render_frame_host->GetProcess()->GetBrowserContext()->GetRequestContext(); |
+ BrowserContext::GetDefaultStoragePartition( |
+ render_frame_host->GetProcess()->GetBrowserContext())-> |
+ GetURLRequestContext(); |
DCHECK(context_getter); |
// The created object is strongly bound to (and owned by) the pipe. |