Index: ash/system/tray_caps_lock.cc |
diff --git a/ash/system/tray_caps_lock.cc b/ash/system/tray_caps_lock.cc |
index b2eb2285b3f400e443a25d3a90d4bf98d09baf4b..195ff0c3ac11d1afdbf3912bfa8677e791154806 100644 |
--- a/ash/system/tray_caps_lock.cc |
+++ b/ash/system/tray_caps_lock.cc |
@@ -55,8 +55,8 @@ void TrayCapsLock::DestroyDetailedView() { |
void TrayCapsLock::OnCapsLockChanged(bool enabled, |
int string_id) { |
- if (image_view()) |
- image_view()->SetVisible(enabled); |
+ if (tray_view()) |
+ tray_view()->SetVisible(enabled); |
if (enabled) { |
string_id_ = string_id; |