| 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 ba53d7cf428b1ff7519207ce448d05e66706ca13..d480e122372cdc5baabe6e0c52b6db6bfab2c88a 100644
|
| --- a/ash/common/system/user/user_view.cc
|
| +++ b/ash/common/system/user/user_view.cc
|
| @@ -21,7 +21,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"
|
| @@ -339,8 +338,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,
|
|
|