| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| index abb34d15682aeacfa6f0e8cc95567d99e8a35847..8f383f9ce204e3d76ee2876cdf529f99a532a523 100644
|
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
|
| @@ -11,7 +11,6 @@
|
| #include "ash/common/frame/default_header_painter.h"
|
| #include "ash/common/frame/frame_border_hit_test.h"
|
| #include "ash/common/frame/header_painter_util.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "base/feature_list.h"
|
| @@ -76,8 +75,7 @@ BrowserNonClientFrameViewAsh::BrowserNonClientFrameViewAsh(
|
| : BrowserNonClientFrameView(frame, browser_view),
|
| caption_button_container_(nullptr),
|
| window_icon_(nullptr) {
|
| - ash::WmLookup::Get()
|
| - ->GetWindowForWidget(frame)
|
| + ash::WmWindow::Get(frame->GetNativeWindow())
|
| ->InstallResizeHandleWindowTargeter(nullptr);
|
| ash::WmShell::Get()->AddShellObserver(this);
|
| }
|
|
|