Index: content/browser/cache_storage/cache_storage_cache.cc |
diff --git a/content/browser/cache_storage/cache_storage_cache.cc b/content/browser/cache_storage/cache_storage_cache.cc |
index 6ca5786b882581b11095984e4565ee02f7e691fc..52dbd039d935868b0765f55946fc68d8a7444af5 100644 |
--- a/content/browser/cache_storage/cache_storage_cache.cc |
+++ b/content/browser/cache_storage/cache_storage_cache.cc |
@@ -1133,7 +1133,8 @@ void CacheStorageCache::PutDidWriteHeaders( |
CacheStorageBlobToDiskCache* blob_to_cache = |
new CacheStorageBlobToDiskCache(); |
BlobToDiskCacheIDMap::KeyType blob_to_cache_key = |
- active_blob_to_disk_cache_writers_.Add(blob_to_cache); |
+ active_blob_to_disk_cache_writers_.Add( |
+ std::unique_ptr<CacheStorageBlobToDiskCache>(blob_to_cache)); |
std::unique_ptr<storage::BlobDataHandle> blob_data_handle = |
std::move(put_context->blob_data_handle); |