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

Unified Diff: chrome/browser/ui/toolbar/encoding_menu_controller_unittest.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
Index: chrome/browser/ui/toolbar/encoding_menu_controller_unittest.cc
diff --git a/chrome/browser/ui/toolbar/encoding_menu_controller_unittest.cc b/chrome/browser/ui/toolbar/encoding_menu_controller_unittest.cc
index 13fa63ce931a45c494162edff990fd97d9cf0e82..00a42b1fcb2c50f53496c03471e91ad056e8ae94 100644
--- a/chrome/browser/ui/toolbar/encoding_menu_controller_unittest.cc
+++ b/chrome/browser/ui/toolbar/encoding_menu_controller_unittest.cc
@@ -52,7 +52,7 @@ TEST_F(EncodingMenuControllerTest, ListEncodingMenuItems) {
controller.GetEncodingMenuItems(&profile_en, &english_items);
// Make sure there are items in the lists.
- ASSERT_TRUE(english_items.size() > 0);
+ ASSERT_FALSE(english_items.empty());
// Make sure that autodetect is the first item on both menus
ASSERT_EQ(english_items[0].first, IDC_ENCODING_AUTO_DETECT);
}
« no previous file with comments | « chrome/browser/ui/gtk/rounded_window.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698