| Index: ash/common/shelf/shelf_window_watcher_unittest.cc
|
| diff --git a/ash/common/shelf/shelf_window_watcher_unittest.cc b/ash/common/shelf/shelf_window_watcher_unittest.cc
|
| index 9634e82152679f37e785565275dc99f2746d3788..9a3dc99392959ae06b4241d43872b5bd0731db40 100644
|
| --- a/ash/common/shelf/shelf_window_watcher_unittest.cc
|
| +++ b/ash/common/shelf/shelf_window_watcher_unittest.cc
|
| @@ -243,14 +243,6 @@ TEST_F(ShelfWindowWatcherTest, DockWindow) {
|
| root_window->GetChildByShellWindowId(kShellWindowId_DefaultContainer);
|
| EXPECT_EQ(default_container, window->GetParent());
|
|
|
| - WmWindow* docked_container =
|
| - root_window->GetChildByShellWindowId(kShellWindowId_DockedContainer);
|
| -
|
| - // Check |window|'s item is not removed when it is re-parented to the dock.
|
| - docked_container->AddChild(window);
|
| - EXPECT_EQ(docked_container, window->GetParent());
|
| - EXPECT_EQ(2, model_->item_count());
|
| -
|
| // The shelf item is removed when the window is closed, even if it is in the
|
| // docked container at the time.
|
| widget.reset();
|
|
|