| Index: ash/wm/common/dock/docked_window_layout_manager.cc
|
| diff --git a/ash/wm/common/dock/docked_window_layout_manager.cc b/ash/wm/common/dock/docked_window_layout_manager.cc
|
| index 8368cd3574aa36f84f742565869e507958631c4b..9a9434492baa15438cfb2c6c040ff87b2d66e828 100644
|
| --- a/ash/wm/common/dock/docked_window_layout_manager.cc
|
| +++ b/ash/wm/common/dock/docked_window_layout_manager.cc
|
| @@ -12,6 +12,7 @@
|
| #include "ash/wm/common/window_resizer.h"
|
| #include "ash/wm/common/window_state.h"
|
| #include "ash/wm/common/wm_globals.h"
|
| +#include "ash/wm/common/wm_lookup.h"
|
| #include "ash/wm/common/wm_root_window_controller.h"
|
| #include "ash/wm/common/wm_shell_window_ids.h"
|
| #include "ash/wm/common/wm_window.h"
|
| @@ -133,7 +134,7 @@ class DockedBackgroundWidget : public views::Widget,
|
| this, parent->GetShellWindowId(), ¶ms);
|
| Init(params);
|
| SetVisibilityChangedAnimationsEnabled(false);
|
| - wm::WmWindow* wm_window = wm::WmWindow::Get(this);
|
| + wm::WmWindow* wm_window = wm::WmLookup::Get()->GetWindowForWidget(this);
|
| wm_window->SetLockedToRoot(true);
|
| opaque_background_.SetColor(SK_ColorBLACK);
|
| opaque_background_.SetBounds(gfx::Rect(GetWindowBoundsInScreen().size()));
|
|
|