| Index: athena/wm/split_view_controller.cc
|
| diff --git a/athena/wm/split_view_controller.cc b/athena/wm/split_view_controller.cc
|
| index cf39f2e0c60d44af99ccb6f571a4192a13640a48..6e4a1c34ac1f8a796055cd85d03226a9f52135bf 100644
|
| --- a/athena/wm/split_view_controller.cc
|
| +++ b/athena/wm/split_view_controller.cc
|
| @@ -168,9 +168,9 @@ void SplitViewController::OnAnimationCompleted(aura::Window* window) {
|
| return;
|
| DCHECK(window == left_window_ || window == right_window_);
|
| if (state_ == ACTIVE) {
|
| - gfx::Rect window_bounds = gfx::Rect(container_->bounds().size());
|
| - int container_width = window_bounds.width();
|
| - window_bounds.set_width(container_width / 2);
|
| + int container_width = container_->bounds().width();
|
| + gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay();
|
| + gfx::Rect window_bounds(container_width / 2, display.work_area().height());
|
| window->SetTransform(gfx::Transform());
|
| if (window == left_window_) {
|
| left_window_->SetBounds(window_bounds);
|
|
|