Index: content/browser/media/android/media_resource_getter_impl.cc |
diff --git a/content/browser/media/android/media_resource_getter_impl.cc b/content/browser/media/android/media_resource_getter_impl.cc |
index 473c5327ff26594d1e316db90c377f12a2c149a5..f0edcdadc9370d196eac95ede23d5bafc7cd90ed 100644 |
--- a/content/browser/media/android/media_resource_getter_impl.cc |
+++ b/content/browser/media/android/media_resource_getter_impl.cc |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/content_browser_client.h" |
+#include "content/public/browser/storage_partition.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/url_constants.h" |
#include "jni/MediaResourceGetter_jni.h" |
@@ -193,7 +194,8 @@ class MediaResourceGetterTask |
MediaResourceGetterTask::MediaResourceGetterTask( |
BrowserContext* browser_context, int render_process_id, int render_frame_id) |
- : context_getter_(browser_context->GetRequestContext()), |
+ : context_getter_(BrowserContext::GetDefaultStoragePartition( |
+ browser_context)->GetURLRequestContext()), |
resource_context_(browser_context->GetResourceContext()), |
render_process_id_(render_process_id), |
render_frame_id_(render_frame_id) { |