| Index: content/browser/storage_partition_impl_map.cc
|
| diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
|
| index 9222265acbaf29d2a125cf00f2e387464e5e6b0f..35508b75c172ac7d4ff81fe1c542a6f57231751e 100644
|
| --- a/content/browser/storage_partition_impl_map.cc
|
| +++ b/content/browser/storage_partition_impl_map.cc
|
| @@ -25,6 +25,7 @@
|
| #include "build/build_config.h"
|
| #include "content/browser/appcache/appcache_interceptor.h"
|
| #include "content/browser/appcache/chrome_appcache_service.h"
|
| +#include "content/browser/background_fetch/background_fetch_context.h"
|
| #include "content/browser/blob_storage/chrome_blob_storage_context.h"
|
| #include "content/browser/fileapi/browser_file_system_helper.h"
|
| #include "content/browser/loader/resource_request_info_impl.h"
|
| @@ -600,6 +601,12 @@ void StoragePartitionImplMap::PostCreateInitialization(
|
| partition->GetServiceWorkerContext(),
|
| browser_context_->GetResourceContext()));
|
|
|
| + BrowserThread::PostTask(
|
| + BrowserThread::IO, FROM_HERE,
|
| + base::Bind(&BackgroundFetchContext::InitializeOnIOThread,
|
| + partition->GetBackgroundFetchContext(),
|
| + base::RetainedRef(partition->GetURLRequestContext())));
|
| +
|
| // 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
|
|
|