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

Unified Diff: storage/browser/blob/blob_async_builder_host.cc

Issue 1853333003: [BlobAsync] Faster shortcuttin, make renderer controller leaky & alive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 8 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: storage/browser/blob/blob_async_builder_host.cc
diff --git a/storage/browser/blob/blob_async_builder_host.cc b/storage/browser/blob/blob_async_builder_host.cc
index 3091604804d33d963604d3ca5282bee112325885..0138de7e7260cf8ea7feb7eb0dbf993bd3c1c768 100644
--- a/storage/browser/blob/blob_async_builder_host.cc
+++ b/storage/browser/blob/blob_async_builder_host.cc
@@ -96,9 +96,7 @@ BlobTransportResult BlobAsyncBuilderHost::StartBuildingBlob(
BlobStorageContext* context,
const RequestMemoryCallback& request_memory) {
DCHECK(context);
- if (async_blob_map_.find(uuid) == async_blob_map_.end()) {
- return BlobTransportResult::BAD_IPC;
- }
+ DCHECK(async_blob_map_.find(uuid) != async_blob_map_.end());
// Step 1: Get the sizes.
size_t shortcut_memory_size_bytes = 0;

Powered by Google App Engine
This is Rietveld 408576698