| Index: ash/screen_util_unittest.cc
|
| diff --git a/ash/screen_util_unittest.cc b/ash/screen_util_unittest.cc
|
| index efbd30bccc6e4768cbde7c62991306d41c3bd753..149c18bddc52591d7bcbebd1d0a0d325a65c7e74 100644
|
| --- a/ash/screen_util_unittest.cc
|
| +++ b/ash/screen_util_unittest.cc
|
| @@ -5,7 +5,6 @@
|
| #include "ash/screen_util.h"
|
|
|
| #include "ash/common/wm/wm_screen_util.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_shell.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/shell.h"
|
| @@ -114,7 +113,7 @@ TEST_F(ScreenUtilTest, ShelfDisplayBoundsInUnifiedDesktop) {
|
|
|
| views::Widget* widget = views::Widget::CreateWindowWithContextAndBounds(
|
| NULL, CurrentContext(), gfx::Rect(10, 10, 100, 100));
|
| - WmWindow* window = WmLookup::Get()->GetWindowForWidget(widget);
|
| + WmWindow* window = WmWindow::Get(widget->GetNativeWindow());
|
|
|
| UpdateDisplay("500x400");
|
| EXPECT_EQ("0,0 500x400", wm::GetDisplayBoundsWithShelf(window).ToString());
|
|
|