| Index: ash/common/accelerators/exit_warning_handler.cc
|
| diff --git a/ash/common/accelerators/exit_warning_handler.cc b/ash/common/accelerators/exit_warning_handler.cc
|
| index 9f6b97088a0a4d0eeffe0b38ca64699f0bed8c96..396c4d918dd11f3aba6a614a7deee08eac9f99fa 100644
|
| --- a/ash/common/accelerators/exit_warning_handler.cc
|
| +++ b/ash/common/accelerators/exit_warning_handler.cc
|
| @@ -9,6 +9,7 @@
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "ash/root_window_controller.h"
|
| +#include "ash/shell.h"
|
| #include "ash/strings/grit/ash_strings.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/time/time.h"
|
| @@ -143,7 +144,7 @@ void ExitWarningHandler::CancelTimer() {
|
| void ExitWarningHandler::Show() {
|
| if (widget_)
|
| return;
|
| - WmWindow* root_window = WmShell::Get()->GetRootWindowForNewWindows();
|
| + WmWindow* root_window = Shell::GetWmRootWindowForNewWindows();
|
| ExitWarningWidgetDelegateView* delegate = new ExitWarningWidgetDelegateView;
|
| gfx::Size rs = root_window->GetBounds().size();
|
| gfx::Size ps = delegate->GetPreferredSize();
|
|
|