| Index: ash/shell/lock_view.cc
|
| diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc
|
| index cac32caf9f42896e91991e214c7dc480bab25c17..7de70a40cebc77e7c7572208487f517ec758caf9 100644
|
| --- a/ash/shell/lock_view.cc
|
| +++ b/ash/shell/lock_view.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/shell_window_ids.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "ash/shell.h"
|
| #include "ash/shell/example_factory.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| @@ -18,8 +19,6 @@
|
| #include "ui/views/widget/widget.h"
|
| #include "ui/views/widget/widget_delegate.h"
|
|
|
| -using ash::Shell;
|
| -
|
| namespace ash {
|
| namespace shell {
|
|
|
| @@ -64,7 +63,7 @@ class LockView : public views::WidgetDelegateView,
|
|
|
| // Overridden from views::WidgetDelegateView:
|
| void WindowClosing() override {
|
| - Shell::GetInstance()->session_state_delegate()->UnlockScreen();
|
| + WmShell::Get()->GetSessionStateDelegate()->UnlockScreen();
|
| }
|
|
|
| // Overridden from views::ButtonListener:
|
|
|