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

Unified Diff: net/url_request/url_request_job_tracker.cc

Issue 6609008: Change other usages of .size() to .empty() when applicable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter nits Created 9 years, 10 months 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
« no previous file with comments | « net/tools/flip_server/output_ordering.cc ('k') | net/url_request/url_request_throttler_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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).";
« no previous file with comments | « net/tools/flip_server/output_ordering.cc ('k') | net/url_request/url_request_throttler_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698