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

Unified Diff: ash/system/tray_caps_lock.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_caps_lock.h ('k') | ash/system/tray_update.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_caps_lock.cc
diff --git a/ash/system/tray_caps_lock.cc b/ash/system/tray_caps_lock.cc
index a570664abeecf39ca06b446172117a16d7d2c736..e355317638beb2e52333e1740b98103872053961 100644
--- a/ash/system/tray_caps_lock.cc
+++ b/ash/system/tray_caps_lock.cc
@@ -102,8 +102,8 @@ class CapsLockDefaultView : public ActionableView {
DISALLOW_COPY_AND_ASSIGN(CapsLockDefaultView);
};
-TrayCapsLock::TrayCapsLock()
- : TrayImageItem(IDR_AURA_UBER_TRAY_CAPS_LOCK),
+TrayCapsLock::TrayCapsLock(SystemTray* system_tray)
+ : TrayImageItem(system_tray, IDR_AURA_UBER_TRAY_CAPS_LOCK),
default_(NULL),
detailed_(NULL),
search_mapped_to_caps_lock_(false),
« no previous file with comments | « ash/system/tray_caps_lock.h ('k') | ash/system/tray_update.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698