| Index: ash/root_window_controller.cc
|
| diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
|
| index 68bbc74426e0029a37837c1bb102429d1182934d..11548a8c1b82aaecac4c3f0bddd2c12a8e08181a 100644
|
| --- a/ash/root_window_controller.cc
|
| +++ b/ash/root_window_controller.cc
|
| @@ -519,13 +519,8 @@ void RootWindowController::CloseChildWindows() {
|
| aura::Window* root_window = GetRootWindow();
|
| aura::client::SetDragDropClient(root_window, NULL);
|
|
|
| - // TODO(harrym): Remove when Status Area Widget is a child view.
|
| - if (shelf_) {
|
| - shelf_->ShutdownStatusAreaWidget();
|
| -
|
| - if (shelf_->shelf_layout_manager())
|
| - shelf_->shelf_layout_manager()->PrepareForShutdown();
|
| - }
|
| + if (shelf_)
|
| + shelf_->Shutdown();
|
|
|
| // Close background widget first as it depends on tooltip.
|
| wallpaper_controller_.reset();
|
|
|