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: ui/events/platform/platform_event_source.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: ui/events/platform/platform_event_source.cc
diff --git a/ui/events/platform/platform_event_source.cc b/ui/events/platform/platform_event_source.cc
index 9be6630e268abbcb8ce45c7746f3f34cb119e41c..259e71989981abe9bed73049f6a42e4bc24e8868 100644
--- a/ui/events/platform/platform_event_source.cc
+++ b/ui/events/platform/platform_event_source.cc
@@ -20,7 +20,8 @@ PlatformEventSource* PlatformEventSource::instance_ = NULL;
PlatformEventSource::PlatformEventSource()
: overridden_dispatcher_(NULL),
overridden_dispatcher_restored_(false) {
- CHECK(!instance_) << "Only one platform event source can be created.";
+ // Only one platform event source can be created.
+ CHECK(!instance_);
instance_ = this;
}

Powered by Google App Engine
This is Rietveld 408576698