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..4c0b81b2ef0f7acca2fbbca547a393588a7b394f 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
@@ -281,9 +281,16 @@ net::URLRequestContextGetter* |
} |
net::URLRequestContextGetter* |
- OffTheRecordProfileImpl::GetRequestContextForMedia() { |
+ OffTheRecordProfileImpl::GetMediaRequestContext() { |
// In OTR mode, media request context is the same as the original one. |
- return io_data_.GetMainRequestContextGetter(); |
+ return GetRequestContext(); |
+} |
+ |
+net::URLRequestContextGetter* |
+ OffTheRecordProfileImpl::GetMediaRequestContextForRenderProcess( |
+ int renderer_child_id) { |
+ // In OTR mode, media request context is the same as the original one. |
+ return GetRequestContextForRenderProcess(renderer_child_id); |
} |
net::URLRequestContextGetter* |