Index: content/browser/storage_partition_impl_map.cc |
=================================================================== |
--- content/browser/storage_partition_impl_map.cc (revision 158246) |
+++ content/browser/storage_partition_impl_map.cc (working copy) |
@@ -266,12 +266,15 @@ |
make_scoped_refptr(partition->GetFileSystemContext()), |
make_scoped_refptr( |
ChromeBlobStorageContext::GetFor(browser_context_)))); |
- |
- // We do not call InitializeURLRequestContext() for media contexts because, |
- // other than the HTTP cache, the media contexts share the same backing |
- // objects as their associated "normal" request context. Thus, the previous |
- // call serves to initialize the media request context for this storage |
- // partition as well. |
+ BrowserThread::PostTask( |
+ BrowserThread::IO, FROM_HERE, |
+ base::Bind( |
+ &InitializeURLRequestContext, |
Charlie Reis
2012/09/25 18:29:59
Can you explain why this fixes the bug? When Albe
Charlie Reis
2012/09/26 00:47:57
Nevermind, I looked closer and figured it out. Th
|
+ make_scoped_refptr(partition->GetMediaURLRequestContext()), |
+ make_scoped_refptr(partition->GetAppCacheService()), |
+ make_scoped_refptr(partition->GetFileSystemContext()), |
+ make_scoped_refptr( |
+ ChromeBlobStorageContext::GetFor(browser_context_)))); |
} |
} |