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

Unified Diff: extensions/common/one_shot_event.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: extensions/common/one_shot_event.cc
diff --git a/extensions/common/one_shot_event.cc b/extensions/common/one_shot_event.cc
index ee8b80a7274b3c95c625714ee5f1241651ceb550..c8ef3a153711b90b1e8ad33024d67393f0bdf5f1 100644
--- a/extensions/common/one_shot_event.cc
+++ b/extensions/common/one_shot_event.cc
@@ -65,7 +65,8 @@ void OneShotEvent::PostDelayed(const tracked_objects::Location& from_here,
void OneShotEvent::Signal() {
DCHECK(thread_checker_.CalledOnValidThread());
- CHECK(!signaled_) << "Only call Signal once.";
+ // Only call Signal once.
+ CHECK(!signaled_);
signaled_ = true;
// After this point, a call to Post() from one of the queued tasks

Powered by Google App Engine
This is Rietveld 408576698