| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm
|
| index ea9e7f7f4bbfcf374f7de35fc7ce217d8a06ded9..2bd05cba6842eb1e434b304278d71bcf9b940eee 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm
|
| @@ -130,12 +130,9 @@ bool IsWindowClosing() {
|
| NSWindow* window = [controller window];
|
| EXPECT_TRUE(window);
|
| NSRect browser_window_frame = [browser()->window()->GetNativeWindow() frame];
|
| - // The metrics have changed slightly under Material Design, so that in this
|
| - // test case the bookmarks bubble's window frame extendeds slightly beyond its
|
| - // parent window's frame.
|
| - if (ui::MaterialDesignController::IsModeMaterial()) {
|
| - browser_window_frame.size.width += 1;
|
| - }
|
| + // In this test case the bookmarks bubble's window frame extendeds slightly
|
| + // beyond its parent window's frame.
|
| + browser_window_frame.size.width += 1;
|
| EXPECT_TRUE(NSContainsRect(browser_window_frame, [window frame]));
|
| }
|
|
|
|
|