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

Unified Diff: ash/common/system/chromeos/network/network_list_md.cc

Issue 2661023006: Remove unused references to NativeTheme in TrayPopupItemStyle. (Closed)
Patch Set: slight improvement Created 3 years, 11 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
Index: ash/common/system/chromeos/network/network_list_md.cc
diff --git a/ash/common/system/chromeos/network/network_list_md.cc b/ash/common/system/chromeos/network/network_list_md.cc
index 12b2f19708e95453bd1b3c02e5a57551faf07aac..b91d6eacff82af46f21fafee6422c4b42749d584 100644
--- a/ash/common/system/chromeos/network/network_list_md.cc
+++ b/ash/common/system/chromeos/network/network_list_md.cc
@@ -208,7 +208,8 @@ class WifiHeaderRowView : public NetworkListViewMd::SectionHeaderRowView {
}
void AddExtraButtons(bool enabled) override {
- const SkColor prominent_color = style()->GetIconColor();
+ const SkColor prominent_color = GetNativeTheme()->GetSystemColor(
+ ui::NativeTheme::kColorId_ProminentButtonColor);
gfx::ImageSkia normal_image = network_icon::GetImageForNewWifiNetwork(
SkColorSetA(prominent_color, kJoinIconAlpha),
SkColorSetA(prominent_color, kJoinBadgeAlpha));
« no previous file with comments | « ash/common/system/chromeos/ime_menu/ime_menu_tray.cc ('k') | ash/common/system/chromeos/network/tray_vpn.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698