| Index: chrome/browser/profiles/off_the_record_profile_impl.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| index c50d8447fc9b96f65024b76fd8b4add013ef9d08..5f7fbdf5b254fec7983e1c50b111688c383a2230 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -281,9 +281,15 @@ net::URLRequestContextGetter*
|
| }
|
|
|
| net::URLRequestContextGetter*
|
| - OffTheRecordProfileImpl::GetRequestContextForMedia() {
|
| + OffTheRecordProfileImpl::GetDefaultRequestContextForMedia() {
|
| // In OTR mode, media request context is the same as the original one.
|
| - return io_data_.GetMainRequestContextGetter();
|
| + return GetRequestContext();
|
| +}
|
| +
|
| +net::URLRequestContextGetter*
|
| + OffTheRecordProfileImpl::GetRequestContextForMedia(int renderer_child_id) {
|
| + // In OTR mode, media request context is the same as the original one.
|
| + return GetRequestContextForRenderProcess(renderer_child_id);
|
| }
|
|
|
| net::URLRequestContextGetter*
|
|
|