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

Unified Diff: third_party/cacheinvalidation/src/google/cacheinvalidation/test/deterministic-scheduler.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/cacheinvalidation/src/google/cacheinvalidation/test/deterministic-scheduler.cc
diff --git a/third_party/cacheinvalidation/src/google/cacheinvalidation/test/deterministic-scheduler.cc b/third_party/cacheinvalidation/src/google/cacheinvalidation/test/deterministic-scheduler.cc
index 3def8f730d84de8eb2fae7d8dd49fa5d46f388ef..ffdac6d3a7d2baa36f21b7ecabfaeeeb5a29a24d 100644
--- a/third_party/cacheinvalidation/src/google/cacheinvalidation/test/deterministic-scheduler.cc
+++ b/third_party/cacheinvalidation/src/google/cacheinvalidation/test/deterministic-scheduler.cc
@@ -35,7 +35,8 @@ void DeterministicScheduler::Schedule(TimeDelta delay, Closure* task) {
}
void DeterministicScheduler::PassTime(TimeDelta delta_time, TimeDelta step) {
- CHECK(delta_time >= TimeDelta()) << "cannot pass a negative amount of time";
+ // cannot pass a negative amount of time
+ CHECK(delta_time >= TimeDelta());
TimeDelta cumulative = TimeDelta();
// Run tasks that are ready to run now.

Powered by Google App Engine
This is Rietveld 408576698