| Index: chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm
|
| diff --git a/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm b/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm
|
| index f00e1d46082c548b4d6379a102486160a1e06e74..1abc77c07ae5cf90bf5f743cf6fd848eb52245ca 100644
|
| --- a/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm
|
| +++ b/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm
|
| @@ -60,11 +60,7 @@ - (NSColor*)strokeColor {
|
|
|
| - (void)drawRect:(NSRect)rect {
|
| NSRect bounds = [self bounds];
|
| - if (ui::MaterialDesignController::IsModeMaterial()) {
|
| - bounds.size.height = InfoBarContainerDelegate::kDefaultBarTargetHeightMd;
|
| - } else {
|
| - bounds.size.height = InfoBarContainerDelegate::kDefaultBarTargetHeight;
|
| - }
|
| + bounds.size.height = InfoBarContainerDelegate::kDefaultBarTargetHeightMd;
|
| CGFloat tipXOffset = arrowX_ - arrowHalfWidth_;
|
|
|
| // Around the bounds of the infobar, continue drawing the path into which the
|
|
|