Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7416)

Unified Diff: chrome/browser/ui/cocoa/location_bar/bubble_decoration.mm

Issue 2241943002: [Material][Mac] Fixed EV chip's dark theme colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698