Index: ash/shell/lock_view.cc |
diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc |
index eb333a7fa9b77df97cee43c5782fa6dd12635cfa..9d39c0d904afe3026f932684f3f68520d7b3971c 100644 |
--- a/ash/shell/lock_view.cc |
+++ b/ash/shell/lock_view.cc |
@@ -2,11 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "ash/common/session/session_state_delegate.h" |
+#include "ash/common/session/session_controller.h" |
#include "ash/common/wm_shell.h" |
#include "ash/public/cpp/shell_window_ids.h" |
#include "ash/shell.h" |
#include "ash/shell/example_factory.h" |
+#include "ash/shell/example_session_controller_client.h" |
#include "base/strings/utf_string_conversions.h" |
#include "ui/aura/window.h" |
#include "ui/aura/window_event_dispatcher.h" |
@@ -62,7 +63,7 @@ class LockView : public views::WidgetDelegateView, |
// Overridden from views::WidgetDelegateView: |
void WindowClosing() override { |
- WmShell::Get()->GetSessionStateDelegate()->UnlockScreen(); |
+ ExampleSessionControllerClient::Get()->UnlockScreen(); |
} |
// Overridden from views::ButtonListener: |