| Index: athena/wm/window_manager_impl.cc
|
| diff --git a/athena/wm/window_manager_impl.cc b/athena/wm/window_manager_impl.cc
|
| index 560252aec02a3f9e8a8e69a9a040acbae2b47870..e1fe510a99df9e1c1451834385e8e18d7853abd7 100644
|
| --- a/athena/wm/window_manager_impl.cc
|
| +++ b/athena/wm/window_manager_impl.cc
|
| @@ -140,7 +140,7 @@ WindowManagerImpl::~WindowManagerImpl() {
|
| void WindowManagerImpl::Layout() {
|
| if (!container_)
|
| return;
|
| - gfx::Rect bounds = gfx::Rect(container_->bounds().size());
|
| + gfx::Rect bounds = ScreenManager::Get()->GetWorkArea();
|
| const aura::Window::Windows& children = container_->children();
|
| for (aura::Window::Windows::const_iterator iter = children.begin();
|
| iter != children.end();
|
|
|