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

Unified Diff: ash/system/tray/tray_empty.cc

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix single-letter typo :(. Created 8 years, 1 month 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/system/tray/tray_empty.h ('k') | ash/system/tray/tray_image_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_empty.cc
diff --git a/ash/system/tray/tray_empty.cc b/ash/system/tray/tray_empty.cc
index 670618d42fe67d56b985ab03726acd48b2e10715..27fb7302edec7784b0f7c306c705f92e567c95d9 100644
--- a/ash/system/tray/tray_empty.cc
+++ b/ash/system/tray/tray_empty.cc
@@ -27,7 +27,9 @@ class EmptyBackground : public views::Background {
namespace ash {
namespace internal {
-TrayEmpty::TrayEmpty() {}
+TrayEmpty::TrayEmpty(SystemTray* system_tray)
+ : SystemTrayItem(system_tray) {
+}
TrayEmpty::~TrayEmpty() {}
« no previous file with comments | « ash/system/tray/tray_empty.h ('k') | ash/system/tray/tray_image_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698