| Index: ash/common/wallpaper/wallpaper_view.cc
|
| diff --git a/ash/common/wallpaper/wallpaper_view.cc b/ash/common/wallpaper/wallpaper_view.cc
|
| index 85c14e9d272ed0751ad08199209d3fd06c09a69e..2aed6b6f4b11b5917151d17b5ef87c2bed771da7 100644
|
| --- a/ash/common/wallpaper/wallpaper_view.cc
|
| +++ b/ash/common/wallpaper/wallpaper_view.cc
|
| @@ -9,7 +9,6 @@
|
| #include "ash/common/wallpaper/wallpaper_delegate.h"
|
| #include "ash/common/wallpaper/wallpaper_widget_controller.h"
|
| #include "ash/common/wm/overview/window_selector_controller.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/root_window_controller.h"
|
| @@ -39,7 +38,7 @@ class LayerControlView : public views::View {
|
|
|
| // Overrides views::View.
|
| void Layout() override {
|
| - WmWindow* window = WmLookup::Get()->GetWindowForWidget(GetWidget());
|
| + WmWindow* window = WmWindow::Get(GetWidget()->GetNativeWindow());
|
| // Keep |this| at the bottom since there may be other windows on top of the
|
| // wallpaper view such as an overview mode shield.
|
| window->GetParent()->StackChildAtBottom(window);
|
| @@ -207,7 +206,7 @@ views::Widget* CreateWallpaper(WmWindow* root_window, int container_id) {
|
| wallpaper_widget->SetContentsView(new LayerControlView(new WallpaperView()));
|
| int animation_type = wallpaper_delegate->GetAnimationType();
|
| WmWindow* wallpaper_window =
|
| - WmLookup::Get()->GetWindowForWidget(wallpaper_widget);
|
| + WmWindow::Get(wallpaper_widget->GetNativeWindow());
|
| wallpaper_window->SetVisibilityAnimationType(animation_type);
|
|
|
| RootWindowController* root_window_controller =
|
|
|