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

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

Issue 2228183002: Updates to icons for Ash material design system tray (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: const ref 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 | « ash/common/system/chromeos/network/tray_network.cc ('k') | ash/common/system/chromeos/network/tray_vpn.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/network/tray_sms.cc
diff --git a/ash/common/system/chromeos/network/tray_sms.cc b/ash/common/system/chromeos/network/tray_sms.cc
index 25c90300f99a5ea791b1f531fdd8be9ddfe78831..008788169557d9c80998f3fe173a0461af8647eb 100644
--- a/ash/common/system/chromeos/network/tray_sms.cc
+++ b/ash/common/system/chromeos/network/tray_sms.cc
@@ -62,11 +62,10 @@ class TraySms::SmsDefaultView : public TrayItemMore {
public:
explicit SmsDefaultView(TraySms* owner) : TrayItemMore(owner, true) {
if (MaterialDesignController::UseMaterialDesignSystemIcons()) {
- gfx::ImageSkia image_md = CreateVectorIcon(
- gfx::VectorIconId::SYSTEM_MENU_SMS, kMenuIconSize, kMenuIconColor);
- SetImage(&image_md);
+ SetImage(gfx::CreateVectorIcon(gfx::VectorIconId::SYSTEM_MENU_SMS,
+ kMenuIconSize, kMenuIconColor));
} else {
- SetImage(ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
+ SetImage(*ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
IDR_AURA_UBER_TRAY_SMS));
}
Update();
« no previous file with comments | « ash/common/system/chromeos/network/tray_network.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