summaryrefslogtreecommitdiffstats
path: root/ash/shell/window_type_launcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shell/window_type_launcher.cc')
-rw-r--r--ash/shell/window_type_launcher.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc
index 61d0d9c..9efd285 100644
--- a/ash/shell/window_type_launcher.cc
+++ b/ash/shell/window_type_launcher.cc
@@ -4,8 +4,6 @@
#include "ash/shell/window_type_launcher.h"
-#include "ash/shell.h"
-#include "ash/shell_delegate.h"
#include "ash/shell_window_ids.h"
#include "ash/shell/example_factory.h"
#include "ash/shell/panel_window.h"
@@ -325,7 +323,7 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender,
} else if (sender == bubble_button_) {
CreatePointyBubble(sender);
} else if (sender == lock_button_) {
- Shell::GetInstance()->delegate()->LockScreen();
+ CreateLockScreen();
} else if (sender == widgets_button_) {
CreateWidgetsWindow();
} else if (sender == system_modal_button_) {