| Index: chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.mm b/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.mm
|
| index 8e31c08c906ee3aa322d768ccc8efd05f7de48a8..d12a930e739715078fba624cb9aaea3d17f394eb 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.mm
|
| @@ -22,12 +22,8 @@
|
| SaveCreditCardDecoration::~SaveCreditCardDecoration() {}
|
|
|
| void SaveCreditCardDecoration::SetIcon(bool locationBarIsDark) {
|
| - SkColor theColor = gfx::kPlaceholderColor;
|
| - if (ui::MaterialDesignController::IsModeMaterial()) {
|
| - theColor = locationBarIsDark ? SK_ColorWHITE : gfx::kChromeIconGrey;
|
| - } else {
|
| - theColor = SkColorSetRGB(0x96, 0x96, 0x96);
|
| - }
|
| + SkColor theColor = theColor = locationBarIsDark ? SK_ColorWHITE
|
| + : gfx::kChromeIconGrey;
|
|
|
| SetImage(NSImageFromImageSkia(gfx::CreateVectorIcon(
|
| gfx::VectorIconId::CREDIT_CARD, 16, theColor)));
|
|
|