| Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| index 2edcbcec7d174c9e373284af7a0c6e2fa058cfac..5d7520ece587858ab437c9b74f6a16cb351c2b0c 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm
|
| @@ -165,11 +165,7 @@ SecurityStateBubbleDecoration security_state_bubble_decoration(
|
| textFrame = [cell textFrameForFrame:bounds];
|
| EXPECT_FALSE(NSIsEmptyRect(textFrame));
|
| EXPECT_TRUE(NSContainsRect(bounds, textFrame));
|
| - if (ui::MaterialDesignController::IsModeMaterial()) {
|
| - EXPECT_EQ(1, NSMinX(textFrame));
|
| - } else {
|
| - EXPECT_EQ(NSMinX(bounds), NSMinX(textFrame));
|
| - }
|
| + EXPECT_EQ(1, NSMinX(textFrame));
|
| EXPECT_EQ(NSMaxX(bounds), NSMaxX(textFrame));
|
| EXPECT_TRUE(NSContainsRect(cursorFrame, textFrame));
|
|
|
|
|