| Index: ash/wm/base_layout_manager_unittest.cc
|
| diff --git a/ash/wm/base_layout_manager_unittest.cc b/ash/wm/base_layout_manager_unittest.cc
|
| index d9938851d3c13eb00dac2163176b069fc9cc8dc6..da71df75ca91c0fd99c1c2554ae7c5bce15c505c 100644
|
| --- a/ash/wm/base_layout_manager_unittest.cc
|
| +++ b/ash/wm/base_layout_manager_unittest.cc
|
| @@ -164,7 +164,8 @@ TEST_F(BaseLayoutManagerTest, MAYBE_RootWindowResizeShrinksWindows) {
|
| // to smaller than the full work area.
|
| TEST_F(BaseLayoutManagerTest, BoundsWithScreenEdgeVisible) {
|
| // Create a window with bounds that fill the screen.
|
| - gfx::Rect bounds = gfx::Screen::GetPrimaryDisplay().bounds();
|
| + gfx::Rect bounds = gfx::Screen::GetPrimaryDisplay(
|
| + ash::Shell::GetRootNativeView()).bounds();
|
| scoped_ptr<aura::Window> window(CreateTestWindow(bounds));
|
| // Maximize it, which writes the old bounds to restore bounds.
|
| window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED);
|
|
|