| Index: chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| index 99f806d83e488e86120ab3a5b3b9b71a65894451..7bdd563e1a2d4fc05c0886bf054690ea4f26ae8e 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| @@ -100,26 +100,6 @@
|
| textOffset = NSMaxX(imageRect) + kIconLabelPadding;
|
| }
|
|
|
| - // Draw the divider and set the text color.
|
| - if (ui::MaterialDesignController::IsModeMaterial()) {
|
| - NSBezierPath* line = [NSBezierPath bezierPath];
|
| - [line setLineWidth:1];
|
| - [line moveToPoint:NSMakePoint(NSMaxX(decoration_frame) - DividerPadding(),
|
| - NSMinY(decoration_frame))];
|
| - [line lineToPoint:NSMakePoint(NSMaxX(decoration_frame) - DividerPadding(),
|
| - NSMaxY(decoration_frame))];
|
| -
|
| - bool in_dark_mode = [[control_view window] inIncognitoModeWithSystemTheme];
|
| - [GetDividerColor(in_dark_mode) set];
|
| - [line stroke];
|
| -
|
| - NSColor* text_color =
|
| - in_dark_mode
|
| - ? skia::SkColorToSRGBNSColor(kMaterialDarkModeTextColor)
|
| - : GetBackgroundBorderColor();
|
| - SetTextColor(text_color);
|
| - }
|
| -
|
| if (label_) {
|
| NSRect textRect = frame;
|
| textRect.origin.x = textOffset;
|
|
|