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..1f32c6ee9c982d713697ee1ecd0a530da0fa2190 100644 |
--- a/ash/system/tray_caps_lock.cc |
+++ b/ash/system/tray_caps_lock.cc |
@@ -6,6 +6,7 @@ |
#include "ash/caps_lock_delegate.h" |
#include "ash/shell.h" |
+#include "ash/system/tray/system_tray.h" |
#include "ash/system/tray/tray_constants.h" |
#include "ash/system/tray/tray_views.h" |
#include "grit/ash_resources.h" |
@@ -102,8 +103,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), |