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

Unified Diff: dbus/object_proxy.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: dbus/object_proxy.cc
diff --git a/dbus/object_proxy.cc b/dbus/object_proxy.cc
index 5d9d8e842f0a43b2aad95c778d4c8141f47bf0fc..ec35c2df9e7e5dc5dccadae1579adb395326fa45 100644
--- a/dbus/object_proxy.cc
+++ b/dbus/object_proxy.cc
@@ -288,7 +288,8 @@ void ObjectProxy::StartAsyncMethodCall(int timeout_ms,
&ObjectProxy::OnPendingCallIsCompleteThunk,
data,
&DeleteVoidPointer<OnPendingCallIsCompleteData>);
- CHECK(success) << "Unable to allocate memory";
+ // Unable to allocate memory
+ CHECK(success);
pending_calls_.insert(pending_call);
// It's now safe to unref the request message.

Powered by Google App Engine
This is Rietveld 408576698