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

Unified Diff: ash/common/system/tray/tray_notification_view.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/tray/tray_item_more.cc ('k') | ash/common/system/tray_accessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_notification_view.cc
diff --git a/ash/common/system/tray/tray_notification_view.cc b/ash/common/system/tray/tray_notification_view.cc
index 049d0f8d43022a450a5d9116df9442324820e16d..0d7fe29d14c065fc3c240538e1e91220f846fb9e 100644
--- a/ash/common/system/tray/tray_notification_view.cc
+++ b/ash/common/system/tray/tray_notification_view.cc
@@ -65,8 +65,8 @@ void TrayNotificationView::InitView(views::View* contents) {
icon_ = new views::ImageView;
if (icon_id_ != 0) {
if (MaterialDesignController::UseMaterialDesignSystemIcons()) {
- icon_->SetImage(CreateVectorIcon(ResourceIdToVectorIconId(icon_id_),
- kMenuIconSize, kMenuIconColor));
+ icon_->SetImage(gfx::CreateVectorIcon(ResourceIdToVectorIconId(icon_id_),
+ kMenuIconColor));
} else {
icon_->SetImage(
ResourceBundle::GetSharedInstance().GetImageSkiaNamed(icon_id_));
« no previous file with comments | « ash/common/system/tray/tray_item_more.cc ('k') | ash/common/system/tray_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698