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

Unified Diff: ash/common/system/tray/tray_image_item.cc

Issue 2162153002: Added Ash.SystemMenu.DefaultView.VisibleItems histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed ash_unittests compile errors. Created 4 years, 5 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/tray/tray_image_item.cc
diff --git a/ash/common/system/tray/tray_image_item.cc b/ash/common/system/tray/tray_image_item.cc
index 590be18fa2fb48258c64f388e719257e5e31e432..5c36c15a4736d76d056a30f1c649e2db8fc5a2a3 100644
--- a/ash/common/system/tray/tray_image_item.cc
+++ b/ash/common/system/tray/tray_image_item.cc
@@ -54,8 +54,10 @@ gfx::VectorIconId ResourceIdToVectorIconId(int resource_id) {
} // namespace
-TrayImageItem::TrayImageItem(SystemTray* system_tray, int resource_id)
- : SystemTrayItem(system_tray),
+TrayImageItem::TrayImageItem(SystemTray* system_tray,
+ int resource_id,
+ ItemType type)
+ : SystemTrayItem(system_tray, type),
resource_id_(resource_id),
tray_view_(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698