| Index: ash/common/system/user/user_view.cc
|
| diff --git a/ash/common/system/user/user_view.cc b/ash/common/system/user/user_view.cc
|
| index c246968bd9bb1982ad68e19783d568693cda76b3..63d1c42cc38a6cc6efe0194e0901a2fa1c4ecdb7 100644
|
| --- a/ash/common/system/user/user_view.cc
|
| +++ b/ash/common/system/user/user_view.cc
|
| @@ -20,7 +20,6 @@
|
| #include "ash/common/system/user/login_status.h"
|
| #include "ash/common/system/user/rounded_image_view.h"
|
| #include "ash/common/system/user/user_card_view.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| @@ -338,8 +337,7 @@ void UserView::ToggleAddUserMenuOption() {
|
| params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
|
| params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW;
|
| params.name = "AddUserMenuOption";
|
| - WmLookup::Get()
|
| - ->GetWindowForWidget(GetWidget())
|
| + WmWindow::Get(GetWidget()->GetNativeWindow())
|
| ->GetRootWindowController()
|
| ->ConfigureWidgetInitParamsForContainer(
|
| add_menu_option_.get(), kShellWindowId_DragImageAndTooltipContainer,
|
|
|