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

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

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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_transport_controller.cc
diff --git a/content/child/blob_storage/blob_transport_controller.cc b/content/child/blob_storage/blob_transport_controller.cc
index 1b01792079edee0775759258403c09ecddfb653d..922d01843d5cfe016309bdd3e21fde79932e1fa4 100644
--- a/content/child/blob_storage/blob_transport_controller.cc
+++ b/content/child/blob_storage/blob_transport_controller.cc
@@ -261,14 +261,15 @@ void BlobTransportController::OnMemoryRequest(
// memory to map the shared memory, which is possible if we don't
// have much memory. If this scenario happens often, we could delay
// the response until we have enough memory. For now we just fail.
- CHECK(false) << "Unable to map shared memory to send blob " << uuid
- << ".";
+ // Unable to map shared memory to send blob |uuid|.
+ CHECK(false);
return;
}
memory = shared_memory.get();
opened_memory[request.handle_index] = shared_memory.release();
}
- CHECK(memory->memory()) << "Couldn't map memory for blob transfer.";
+ // Couldn't map memory for blob transfer.
+ CHECK(memory->memory());
ReadStatus status = consolidation->ReadMemory(
request.renderer_item_index, request.renderer_item_offset,
request.size,

Powered by Google App Engine
This is Rietveld 408576698