Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1864)

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

Issue 10836305: Ensure that isolated apps use the right cookies for media requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial version Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..9c971b86af7df41d2ebb8b7c68f740aa0e38b42c 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -281,9 +281,9 @@ net::URLRequestContextGetter*
}
net::URLRequestContextGetter*
- OffTheRecordProfileImpl::GetRequestContextForMedia() {
+ OffTheRecordProfileImpl::GetRequestContextForMedia(int renderer_child_id) {
// In OTR mode, media request context is the same as the original one.
- return io_data_.GetMainRequestContextGetter();
+ return GetRequestContextForRenderProcess(renderer_child_id);
}
net::URLRequestContextGetter*

Powered by Google App Engine
This is Rietveld 408576698