| 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 2e84e9bf11a70d76a6de646ea6a1b5c59c866812..015d7494e29fdda79a60a8ba48b9abaf01264e2a 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| @@ -119,7 +119,7 @@ void BubbleDecoration::DrawInFrame(NSRect frame, NSView* control_view) {
|
| [line lineToPoint:NSMakePoint(NSMaxX(decoration_frame) - DividerPadding(),
|
| NSMaxY(decoration_frame))];
|
|
|
| - bool in_dark_mode = [[control_view window] inIncognitoModeWithSystemTheme];
|
| + bool in_dark_mode = [[control_view window] hasDarkTheme];
|
| [GetDividerColor(in_dark_mode) set];
|
| [line stroke];
|
|
|
|
|