| Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| index e5cf6dbc9745480d6adf55213bb0ab6692048ae4..55f6315a9a3aa5d874a0b3ffb300030958ff6275 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| @@ -88,7 +88,7 @@ const int kDefaultIconSize = 16;
|
|
|
| // Color of the vector graphic icons when the location bar is dark.
|
| // SkColorSetARGB(0xCC, 0xFF, 0xFF 0xFF);
|
| -const SkColor kMaterialDarkVectorIconColor = 0xCCFFFFFF;
|
| +const SkColor kMaterialDarkVectorIconColor = SK_ColorWHITE;
|
|
|
| } // namespace
|
|
|
| @@ -753,6 +753,11 @@ void LocationBarViewMac::UpdateLocationIcon() {
|
| }
|
| }
|
|
|
| + // If the theme is dark, then the color should always be
|
| + // kMaterialDarkVectorIconColor.
|
| + if (in_dark_mode)
|
| + vector_icon_color = kMaterialDarkVectorIconColor;
|
| +
|
| DCHECK(vector_icon_id != gfx::VectorIconId::VECTOR_ICON_NONE);
|
| NSImage* image =
|
| [LocationBarImageRep imageForId:vector_icon_id color:vector_icon_color];
|
|
|