diff options
Diffstat (limited to 'ash/shell/app_list.cc')
-rw-r--r-- | ash/shell/app_list.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc index 80ff70e..2003b32 100644 --- a/ash/shell/app_list.cc +++ b/ash/shell/app_list.cc @@ -7,6 +7,8 @@ #include "ash/app_list/app_list_model.h" #include "ash/app_list/app_list_view_delegate.h" #include "ash/app_list/app_list_view.h" +#include "ash/shell.h" +#include "ash/shell_delegate.h" #include "ash/shell/example_factory.h" #include "ash/shell/toplevel_window.h" #include "base/basictypes.h" @@ -80,7 +82,7 @@ class WindowTypeLauncherItem : public ash::AppListItemModel { break; } case LOCK_SCREEN: { - CreateLockScreen(); + Shell::GetInstance()->delegate()->LockScreen(); break; } case WIDGETS_WINDOW: { |