| Index: net/url_request/url_request_throttler_entry.cc
|
| diff --git a/net/url_request/url_request_throttler_entry.cc b/net/url_request/url_request_throttler_entry.cc
|
| index 6db76c3628427062bb328f3bc4d91034992bd8e1..033787bda2d8db2f46b6e8c5ad7668cd0e3e80a2 100644
|
| --- a/net/url_request/url_request_throttler_entry.cc
|
| +++ b/net/url_request/url_request_throttler_entry.cc
|
| @@ -74,7 +74,7 @@ bool URLRequestThrottlerEntry::IsEntryOutdated() const {
|
|
|
| // If there are send events in the sliding window period, we still need this
|
| // entry.
|
| - if (send_log_.size() > 0 &&
|
| + if (!send_log_.empty() &&
|
| send_log_.back() + sliding_window_period_ > now) {
|
| return false;
|
| }
|
|
|