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

Unified Diff: content/child/blob_storage/blob_consolidation.cc

Issue 1234813004: [BlobAsync] Asynchronous Blob Construction Final Patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-protocol-change
Patch Set: added shared memory test, and fixed memory leak Created 4 years, 10 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: content/child/blob_storage/blob_consolidation.cc
diff --git a/content/child/blob_storage/blob_consolidation.cc b/content/child/blob_storage/blob_consolidation.cc
index a2b0925d5d1aa44718d5e6f11023dc63968ff033..ae1e8e60b3a13a425240fa244874312e288afc22 100644
--- a/content/child/blob_storage/blob_consolidation.cc
+++ b/content/child/blob_storage/blob_consolidation.cc
@@ -80,6 +80,7 @@ void BlobConsolidation::AddBlobItem(const std::string& uuid,
ConsolidatedItem(DataElement::TYPE_BLOB, offset, length));
ConsolidatedItem& item = consolidated_items_.back();
item.blob_uuid = uuid;
+ referenced_blobs_.insert(uuid);
}
void BlobConsolidation::AddFileSystemItem(const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698