| Index: ash/common/wm/container_finder_unittest.cc
|
| diff --git a/ash/common/wm/container_finder_unittest.cc b/ash/common/wm/container_finder_unittest.cc
|
| index 82c44473839b263654dd0d94deafcbd9a237f042..cf9f96ddb55a86fc0f6134c6289e508a707594c1 100644
|
| --- a/ash/common/wm/container_finder_unittest.cc
|
| +++ b/ash/common/wm/container_finder_unittest.cc
|
| @@ -7,7 +7,6 @@
|
| #include <memory>
|
|
|
| #include "ash/common/test/ash_test.h"
|
| -#include "ash/common/wm_lookup.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| @@ -21,7 +20,7 @@ TEST_F(ContainerFinderTest, GetContainerForWindow) {
|
| // Create a normal widget in the default container.
|
| std::unique_ptr<views::Widget> widget =
|
| CreateTestWidget(gfx::Rect(1, 2, 3, 4));
|
| - WmWindow* window = WmLookup::Get()->GetWindowForWidget(widget.get());
|
| + WmWindow* window = WmWindow::Get(widget->GetNativeWindow());
|
|
|
| // The window itself is not a container.
|
| EXPECT_EQ(kShellWindowId_Invalid, window->GetShellWindowId());
|
|
|