Index: ash/common/system/web_notification/web_notification_tray.cc |
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc |
index 28f6586be82710dbf3b58a24f5bd06b4f987ef5c..c0a3dd19c6ec4fdb80c91cb3751a2fed11719736 100644 |
--- a/ash/common/system/web_notification/web_notification_tray.cc |
+++ b/ash/common/system/web_notification/web_notification_tray.cc |
@@ -4,7 +4,7 @@ |
#include "ash/common/system/web_notification/web_notification_tray.h" |
-#include "ash/common/session/session_state_delegate.h" |
+#include "ash/common/session/session_controller.h" |
#include "ash/common/shelf/shelf_constants.h" |
#include "ash/common/shelf/wm_shelf.h" |
#include "ash/common/shelf/wm_shelf_util.h" |
@@ -616,7 +616,7 @@ bool WebNotificationTray::IsLoggedIn() const { |
WmShell* shell = WmShell::Get(); |
return shell->system_tray_delegate()->GetUserLoginStatus() != |
LoginStatus::NOT_LOGGED_IN && |
- !shell->GetSessionStateDelegate()->IsInSecondaryLoginScreen(); |
+ !shell->session_controller()->IsInSecondaryLoginScreen(); |
} |
// Methods for testing |