| Index: ash/common/wm/dock/docked_window_layout_manager.cc
|
| diff --git a/ash/common/wm/dock/docked_window_layout_manager.cc b/ash/common/wm/dock/docked_window_layout_manager.cc
|
| index fb6a220019502281c1c332080a21c42415ed828d..fb373ec15ab56149f26935164d70083fab24af1f 100644
|
| --- a/ash/common/wm/dock/docked_window_layout_manager.cc
|
| +++ b/ash/common/wm/dock/docked_window_layout_manager.cc
|
| @@ -15,7 +15,6 @@
|
| #include "ash/common/wm/window_parenting_utils.h"
|
| #include "ash/common/wm/window_resizer.h"
|
| #include "ash/common/wm/window_state.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"
|
| @@ -116,7 +115,7 @@ class DockedBackgroundWidget : public views::Widget,
|
| this, parent->GetShellWindowId(), ¶ms);
|
| Init(params);
|
| SetVisibilityChangedAnimationsEnabled(false);
|
| - WmWindow* wm_window = WmLookup::Get()->GetWindowForWidget(this);
|
| + WmWindow* wm_window = WmWindow::Get(this->GetNativeWindow());
|
| wm_window->SetLockedToRoot(true);
|
| opaque_background_.SetColor(SK_ColorBLACK);
|
| opaque_background_.SetBounds(gfx::Rect(GetWindowBoundsInScreen().size()));
|
|
|