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

Unified Diff: third_party/cacheinvalidation/src/google/cacheinvalidation/impl/throttle.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/impl/throttle.cc
diff --git a/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/throttle.cc b/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/throttle.cc
index fa84fc870cda307dd08472592740303c7d61e1ea..5ba107e6c8f5af90a53c412aa2ad637f738aebe8 100644
--- a/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/throttle.cc
+++ b/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/throttle.cc
@@ -36,8 +36,8 @@ Throttle::Throttle(
max_recent_events_ = 1;
for (size_t i = 0; i < static_cast<size_t>(rate_limits_.size()); ++i) {
const RateLimitP& rate_limit = rate_limits.Get(i);
- CHECK(rate_limit.window_ms() > rate_limit.count()) <<
- "Windows size too small";
+ // Windows size too small
+ CHECK(rate_limit.window_ms() > rate_limit.count());
max_recent_events_ = max(static_cast<int>(max_recent_events_),
rate_limits_.Get(i).count());
}

Powered by Google App Engine
This is Rietveld 408576698