Index: chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm b/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm |
index 25af74a0efd37ede3df385694c6fb8e13b74db7d..02d3a25b26102fd1675ae2a67eea99002f76c305 100644 |
--- a/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm |
+++ b/chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm |
@@ -60,8 +60,8 @@ TEST_F(DownArrowPopupMenuCellTest, Defaults) { |
NSAttributedString* title = [cell attributedTitle]; |
NSSize titleSize = [title size]; |
- EXPECT_EQ(titleSize.width + [image size].width + autofill::kButtonGap, |
+ EXPECT_LE(titleSize.width + [image size].width + autofill::kButtonGap, |
[cell cellSize].width); |
- EXPECT_EQ(std::max(titleSize.height, [image size].height), |
+ EXPECT_LE(std::max(titleSize.height, [image size].height), |
[cell cellSize].height); |
} |