Index: ash/accelerators/exit_warning_handler.cc |
diff --git a/ash/accelerators/exit_warning_handler.cc b/ash/accelerators/exit_warning_handler.cc |
index 1f3f7a74c6d06819de7cdea54045cad296bfbc06..84f46b05ba424ad3e50505cff90d858c3fc7ccf9 100644 |
--- a/ash/accelerators/exit_warning_handler.cc |
+++ b/ash/accelerators/exit_warning_handler.cc |
@@ -8,8 +8,8 @@ |
#include "ash/root_window_controller.h" |
#include "ash/shell.h" |
#include "ash/shell_delegate.h" |
+#include "ash/shell_port.h" |
#include "ash/strings/grit/ash_strings.h" |
-#include "ash/wm_shell.h" |
#include "ash/wm_window.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/time/time.h" |
@@ -109,13 +109,13 @@ void ExitWarningHandler::HandleAccelerator() { |
state_ = WAIT_FOR_DOUBLE_PRESS; |
Show(); |
StartTimer(); |
- WmShell::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_FIRST_Q); |
+ ShellPort::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_FIRST_Q); |
break; |
case WAIT_FOR_DOUBLE_PRESS: |
state_ = EXITING; |
CancelTimer(); |
Hide(); |
- WmShell::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_SECOND_Q); |
+ ShellPort::Get()->RecordUserMetricsAction(UMA_ACCEL_EXIT_SECOND_Q); |
Shell::Get()->shell_delegate()->Exit(); |
break; |
case EXITING: |