Index: net/url_request/url_request_job_tracker.cc |
diff --git a/net/url_request/url_request_job_tracker.cc b/net/url_request/url_request_job_tracker.cc |
index 49472d901968545c9e7797fd027a80c2da77ced2..632d0a38f47729549093abfc7631310ca3997536 100644 |
--- a/net/url_request/url_request_job_tracker.cc |
+++ b/net/url_request/url_request_job_tracker.cc |
@@ -17,7 +17,7 @@ URLRequestJobTracker::URLRequestJobTracker() { |
} |
URLRequestJobTracker::~URLRequestJobTracker() { |
- DLOG_IF(WARNING, active_jobs_.size() != 0) << |
+ DLOG_IF(WARNING, !active_jobs_.empty()) << |
"Leaking " << active_jobs_.size() << " URLRequestJob object(s), this " |
"could be because the URLRequest forgot to free it (bad), or if the " |
"program was terminated while a request was active (normal)."; |