Index: ash/system/tray/system_tray_widget_delegate.cc |
diff --git a/ash/system/tray/system_tray_widget_delegate.cc b/ash/system/tray/system_tray_widget_delegate.cc |
index acc937a90a41635c74d82764af2a79e6cd69d18a..1380a8bc77faab579caf0fb9c61ee7a8b1c06dbb 100644 |
--- a/ash/system/tray/system_tray_widget_delegate.cc |
+++ b/ash/system/tray/system_tray_widget_delegate.cc |
@@ -59,7 +59,7 @@ bool StatusAreaView::CanActivate() const { |
// activation when the user is using the keyboard (FocusCycler). |
const FocusCycler* focus_cycler = focus_cycler_for_testing_ ? |
focus_cycler_for_testing_ : Shell::GetInstance()->focus_cycler(); |
- return focus_cycler->widget_activating() == GetWidget(); |
+ return focus_cycler && focus_cycler->widget_activating() == GetWidget(); |
} |
void StatusAreaView::DeleteDelegate() { |