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

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

Issue 2011173002: Revert of [Mac][Material Design] Bring bookmark hover state, etc. up to spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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..f9ec83bf38d26ed95e007d98e69aad1cb2f45e76 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
@@ -65,11 +65,7 @@
float icon_x_with_title = ([cell imageRectForBounds:rect]).origin.x;
float cell_width_with_title = ([cell cellSize]).width;
- if (ui::MaterialDesignController::IsModeMaterial()) {
- EXPECT_GT(icon_x_without_title, icon_x_with_title);
- } else {
- EXPECT_LT(icon_x_without_title, icon_x_with_title);
- }
+ EXPECT_LT(icon_x_without_title, icon_x_with_title);
EXPECT_LT(cell_width_without_title, cell_width_with_title);
[folder_cell setBookmarkCellText:@"" image:image];

Powered by Google App Engine
This is Rietveld 408576698