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); |
} |