| Index: ui/aura/mus/window_tree_client.cc
|
| diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
|
| index 9dfb2bb38bc873add46b9cf6463304f2edebc316..f52f42711d20db377eb9e4120c087b8e9534a9ee 100644
|
| --- a/ui/aura/mus/window_tree_client.cc
|
| +++ b/ui/aura/mus/window_tree_client.cc
|
| @@ -1312,14 +1312,11 @@ void WindowTreeClient::WmSetBounds(uint32_t change_id,
|
| DCHECK(window_manager_delegate_);
|
| gfx::Rect bounds = transit_bounds;
|
| // TODO: this needs to trigger scheduling a bounds change on |window|.
|
| - result =
|
| - window_manager_delegate_->OnWmSetBounds(window->GetWindow(), &bounds);
|
| - if (result) {
|
| - // If the resulting bounds differ return false. Returning false ensures
|
| - // the client applies the bounds we set below.
|
| - result = bounds == transit_bounds;
|
| - window->SetBoundsFromServer(bounds);
|
| - }
|
| + window_manager_delegate_->OnWmSetBounds(window->GetWindow(), &bounds);
|
| + // If the resulting bounds differ return false. Returning false ensures
|
| + // the client applies the bounds we set below.
|
| + window->SetBoundsFromServer(bounds);
|
| + result = true;
|
| }
|
| if (window_manager_internal_client_)
|
| window_manager_internal_client_->WmResponse(change_id, result);
|
|
|