| 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 29cf54ce7598ee42854f2400ab1cbffe575a594d..36a6f0f39f22f0d5586fd7df7ac8e149284e5c85 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm
|
| @@ -123,7 +123,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] hasDarkTheme];
|
| + bool in_dark_mode = [[control_view window] inIncognitoModeWithSystemTheme];
|
| [GetDividerColor(in_dark_mode) set];
|
| [line stroke];
|
|
|
|
|