| Index: ash/display/display_manager_unittest.cc
|
| diff --git a/ash/display/display_manager_unittest.cc b/ash/display/display_manager_unittest.cc
|
| index cea000eaf25a602095f306d53cae096eacd66ff7..f75137e3fe2a2d02340aa054d75e0288338ca8e9 100644
|
| --- a/ash/display/display_manager_unittest.cc
|
| +++ b/ash/display/display_manager_unittest.cc
|
| @@ -2670,32 +2670,6 @@ TEST_F(DisplayManagerTest, NoRotateUnifiedDesktop) {
|
| EXPECT_EQ("400x500", screen->GetPrimaryDisplay().size().ToString());
|
| }
|
|
|
| -// Makes sure the transition from unified to single won't crash
|
| -// with docked windows.
|
| -TEST_F(DisplayManagerTest, UnifiedWithDockWindows) {
|
| - // Enable window docking for this test.
|
| - base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - ash::switches::kAshEnableDockedWindows);
|
| -
|
| - display_manager()->SetUnifiedDesktopEnabled(true);
|
| -
|
| - // Don't check root window destruction in unified mode.
|
| - Shell::GetPrimaryRootWindow()->RemoveObserver(this);
|
| -
|
| - UpdateDisplay("400x500,300x200");
|
| -
|
| - std::unique_ptr<aura::Window> docked(
|
| - CreateTestWindowInShellWithBounds(gfx::Rect(10, 10, 50, 50)));
|
| - docked->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_DOCKED);
|
| - ASSERT_TRUE(wm::GetWindowState(docked.get())->IsDocked());
|
| - // 48 pixels reserved for launcher shelf height.
|
| - EXPECT_EQ(gfx::Rect(0, 0, 250, 452).ToString(), docked->bounds().ToString());
|
| - UpdateDisplay("300x300");
|
| - // Make sure the window is still docked.
|
| - EXPECT_TRUE(wm::GetWindowState(docked.get())->IsDocked());
|
| - EXPECT_EQ(gfx::Rect(0, 0, 250, 252).ToString(), docked->bounds().ToString());
|
| -}
|
| -
|
| TEST_F(DisplayManagerTest, DockMode) {
|
| const int64_t internal_id = 1;
|
| const int64_t external_id = 2;
|
|
|