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

Unified Diff: third_party/crashpad/crashpad/util/mach/composite_mach_message_server.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: third_party/crashpad/crashpad/util/mach/composite_mach_message_server.cc
diff --git a/third_party/crashpad/crashpad/util/mach/composite_mach_message_server.cc b/third_party/crashpad/crashpad/util/mach/composite_mach_message_server.cc
index abbe5bcf38858cc27934520b0140782701f902f6..ad6fb4adbc99d0074187c05759a7419dfe2a97c9 100644
--- a/third_party/crashpad/crashpad/util/mach/composite_mach_message_server.cc
+++ b/third_party/crashpad/crashpad/util/mach/composite_mach_message_server.cc
@@ -41,7 +41,8 @@ void CompositeMachMessageServer::AddHandler(
for (mach_msg_id_t request_id : request_ids) {
std::pair<HandlerMap::const_iterator, bool> result =
handler_map_.insert(std::make_pair(request_id, handler));
- CHECK(result.second) << "duplicate request ID " << request_id;
+ // duplicate request ID |request_id|
+ CHECK(result.second);
}
request_size_ =

Powered by Google App Engine
This is Rietveld 408576698