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

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

Issue 2394523002: cocoa browser: remove non-MD bookmark bar support (Closed)
Patch Set: Created 4 years, 2 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 532492792ffbc2c6269fb9167a93b3a609de98fe..4b506d1dde271db8172e72ca8c76a2e6c09c4538 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_EQ(icon_x_without_title, icon_x_with_title);
- } else {
- EXPECT_LT(icon_x_without_title, icon_x_with_title);
- }
+ EXPECT_EQ(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