Index: ash/system/session/logout_confirmation_dialog.cc |
diff --git a/ash/system/session/logout_confirmation_dialog.cc b/ash/system/session/logout_confirmation_dialog.cc |
index 4a5ccc798a24761771c865c22ac4472e659850e7..20a8ced2c2958a33e2bef99259f762028d559976 100644 |
--- a/ash/system/session/logout_confirmation_dialog.cc |
+++ b/ash/system/session/logout_confirmation_dialog.cc |
@@ -6,7 +6,7 @@ |
#include "ash/public/cpp/shell_window_ids.h" |
#include "ash/root_window_controller.h" |
-#include "ash/shell_port.h" |
+#include "ash/shell.h" |
#include "ash/strings/grit/ash_strings.h" |
#include "ash/system/session/logout_confirmation_controller.h" |
#include "ash/system/tray/tray_constants.h" |
@@ -50,9 +50,7 @@ LogoutConfirmationDialog::LogoutConfirmationDialog( |
views::Widget* widget = new views::Widget; |
views::Widget::InitParams params = |
GetDialogWidgetInitParams(this, nullptr, nullptr, gfx::Rect()); |
- ShellPort::Get() |
- ->GetPrimaryRootWindow() |
- ->GetRootWindowController() |
+ Shell::GetPrimaryRootWindowController() |
->ConfigureWidgetInitParamsForContainer( |
widget, kShellWindowId_SystemModalContainer, ¶ms); |
widget->Init(params); |