| 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 da326eaacc31fbbd72b5c6e81e84700cfdfc116c..f33e8912ec15aee5b7a1b9b9282c90b4383d42a0 100644
|
| --- a/ui/aura/mus/window_tree_client.cc
|
| +++ b/ui/aura/mus/window_tree_client.cc
|
| @@ -1408,15 +1408,8 @@ void WindowTreeClient::WmSetBounds(uint32_t change_id,
|
| gfx::Rect transit_bounds_in_dip =
|
| gfx::ConvertRectToDIP(device_scale_factor, transit_bounds_in_pixels);
|
| gfx::Rect bounds_in_dip = transit_bounds_in_dip;
|
| - // TODO: this needs to trigger scheduling a bounds change on |window|.
|
| - result = window_manager_delegate_->OnWmSetBounds(window->GetWindow(),
|
| - &bounds_in_dip);
|
| - if (result) {
|
| - // If the resulting bounds differ return false. Returning false ensures
|
| - // the client applies the bounds we set below.
|
| - result = bounds_in_dip == transit_bounds_in_dip;
|
| - window->SetBoundsFromServer(bounds_in_dip);
|
| - }
|
| + window_manager_delegate_->OnWmSetBounds(window->GetWindow(),
|
| + &bounds_in_dip);
|
| } else {
|
| DVLOG(1) << "Unknown window passed to WmSetBounds().";
|
| }
|
|
|