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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm

Issue 2200303004: [Mac][Material Design] Adjust bookmark spacing and folder menu drawing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests, changes for icon-only items. Created 4 years, 4 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/bookmarks/bookmark_bar_folder_button_cell_unittest.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm
index 516d3651c592cfe48e5d566c1a517e9d9759c732..532492792ffbc2c6269fb9167a93b3a609de98fe 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm
@@ -66,7 +66,7 @@ TEST_F(BookmarkBarFolderButtonCellTest, FaviconPositioning) {
float cell_width_with_title = ([cell cellSize]).width;
if (ui::MaterialDesignController::IsModeMaterial()) {
- EXPECT_GT(icon_x_without_title, icon_x_with_title);
+ EXPECT_EQ(icon_x_without_title, icon_x_with_title);
} else {
EXPECT_LT(icon_x_without_title, icon_x_with_title);
}

Powered by Google App Engine
This is Rietveld 408576698