| Index: ash/wm/root_window_layout_manager.cc
|
| diff --git a/ash/wm/root_window_layout_manager.cc b/ash/wm/root_window_layout_manager.cc
|
| index f320ab8c164bcc82c66e40edf529bd8894e36786..e237737ef612c9a1a7fbdf667284ce56b791b327 100644
|
| --- a/ash/wm/root_window_layout_manager.cc
|
| +++ b/ash/wm/root_window_layout_manager.cc
|
| @@ -46,9 +46,15 @@ void RootWindowLayoutManager::OnWindowResized() {
|
| // resize to fit the new workspace area.
|
| Shell::GetInstance()->SetWindowModeForMonitorSize(fullscreen_bounds.size());
|
|
|
| + // Resize both our immediate children (the containers-of-containers animated
|
| + // by PowerButtonController) and their children (the actual containers).
|
| aura::Window::Windows::const_iterator i;
|
| - for (i = owner_->children().begin(); i != owner_->children().end(); ++i)
|
| + for (i = owner_->children().begin(); i != owner_->children().end(); ++i) {
|
| (*i)->SetBounds(fullscreen_bounds);
|
| + aura::Window::Windows::const_iterator j;
|
| + for (j = (*i)->children().begin(); j != (*i)->children().end(); ++j)
|
| + (*j)->SetBounds(fullscreen_bounds);
|
| + }
|
|
|
| if (background_widget_)
|
| background_widget_->SetBounds(fullscreen_bounds);
|
|
|