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

Unified Diff: chrome/test/reliability/page_load_test.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 | « chrome/renderer/webworker_base.h ('k') | chrome/test/url_fetch_test/url_fetch_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/reliability/page_load_test.cc
diff --git a/chrome/test/reliability/page_load_test.cc b/chrome/test/reliability/page_load_test.cc
index bed39d388901b2c3558f49977f4e66cb2f6e3b8e..e4c116126e0208ba40cb098b1923674447897ab3 100644
--- a/chrome/test/reliability/page_load_test.cc
+++ b/chrome/test/reliability/page_load_test.cc
@@ -291,7 +291,7 @@ class PageLoadTest : public UITest {
bool do_log = log_file.is_open() &&
(!log_only_error ||
metrics.result != NAVIGATION_SUCCESS ||
- new_crash_dumps.size() > 0);
+ !new_crash_dumps.empty());
if (do_log) {
log_file << url_string;
switch (metrics.result) {
« no previous file with comments | « chrome/renderer/webworker_base.h ('k') | chrome/test/url_fetch_test/url_fetch_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698