Chromium Code Reviews| Index: ash/common/system/chromeos/network/vpn_list_view.cc |
| diff --git a/ash/common/system/chromeos/network/vpn_list_view.cc b/ash/common/system/chromeos/network/vpn_list_view.cc |
| index d817f9972deb46abc00eab06a7620565411065b0..f4a21d2e5d82a5625115507959c898a1947018b0 100644 |
| --- a/ash/common/system/chromeos/network/vpn_list_view.cc |
| +++ b/ash/common/system/chromeos/network/vpn_list_view.cc |
| @@ -124,12 +124,14 @@ class VPNListProviderEntryMd : public views::ButtonListener, |
| label->SetText(base::ASCIIToUTF16(name)); |
| tri_view->AddView(TriView::Container::CENTER, label); |
| - gfx::ImageSkia icon = gfx::CreateVectorIcon(kSystemMenuAddConnectionIcon, |
| - style.GetIconColor()); |
| + const SkColor image_color = GetNativeTheme()->GetSystemColor( |
|
bruthig
2017/02/01 22:50:08
I didn't think the correct NativeTheme was availab
Evan Stade
2017/02/01 23:17:46
sort of. We're not guaranteed the correct native t
bruthig
2017/02/01 23:31:01
Gotcha, thx!
|
| + ui::NativeTheme::kColorId_ProminentButtonColor); |
| + gfx::ImageSkia icon = |
| + gfx::CreateVectorIcon(kSystemMenuAddConnectionIcon, image_color); |
| SystemMenuButton* add_vpn_button = |
| new SystemMenuButton(this, TrayPopupInkDropStyle::HOST_CENTERED, icon, |
| icon, button_accessible_name_id); |
| - add_vpn_button->SetInkDropColor(style.GetIconColor()); |
| + add_vpn_button->SetInkDropColor(image_color); |
| add_vpn_button->SetEnabled(true); |
| tri_view->AddView(TriView::Container::END, add_vpn_button); |
| } |