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

Unified Diff: blimp/engine/mojo/blob_channel_service.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: blimp/engine/mojo/blob_channel_service.cc
diff --git a/blimp/engine/mojo/blob_channel_service.cc b/blimp/engine/mojo/blob_channel_service.cc
index a603b12271349eb7b280c3802bdf5c95649a05aa..05df743f7472d0f743a84cf3aaae2c0d0ed630df 100644
--- a/blimp/engine/mojo/blob_channel_service.cc
+++ b/blimp/engine/mojo/blob_channel_service.cc
@@ -85,7 +85,8 @@ void BlobChannelService::PutBlob(const std::string& id,
}
mojo::ScopedSharedBufferMapping mapping = data->Map(size);
- CHECK(mapping) << "Failed to mmap region of " << size << " bytes.";
+ // Failed to mmap region of |size| bytes.
+ CHECK(mapping);
scoped_refptr<BlobData> new_blob(new BlobData);
new_blob->data.assign(reinterpret_cast<const char*>(mapping.get()), size);

Powered by Google App Engine
This is Rietveld 408576698