| Index: third_party/cacheinvalidation/src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.h
|
| diff --git a/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.h b/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.h
|
| index cf36a66b14f45437d0d43469cfb3f7bba6b81a9d..b4c15589f9fd2b3a861ed32bea0b8c7273e1e5da 100644
|
| --- a/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.h
|
| +++ b/third_party/cacheinvalidation/src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.h
|
| @@ -40,10 +40,11 @@ class ExponentialBackoffDelayGenerator {
|
| int max_exponential_factor) :
|
| initial_max_delay_(initial_max_delay),
|
| max_exponential_factor_(max_exponential_factor), random_(random) {
|
| - CHECK_GT(max_exponential_factor_, 0) << "max factor must be positive";
|
| + // max factor must be positive
|
| + CHECK_GT(max_exponential_factor_, 0);
|
| CHECK(random_ != NULL);
|
| - CHECK(initial_max_delay > Scheduler::NoDelay()) <<
|
| - "Initial delay must be positive";
|
| + // Initial delay must be positive
|
| + CHECK(initial_max_delay > Scheduler::NoDelay());
|
| Reset();
|
| }
|
|
|
|
|