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

Unified Diff: chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell_unittest.mm

Issue 140353002: [rAC, OSX] Fix focus ring drawing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix broken test. Created 6 years, 11 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/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);
}
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/down_arrow_popup_menu_cell.mm ('k') | chrome/browser/ui/cocoa/image_button_cell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698