| Index: ash/mus/window_manager.cc
|
| diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
|
| index ccae4d91e0212a5d87c3c114cf13fa21f642228f..1ca8f714ccac3829c4836fd862eb526dc087f8ab 100644
|
| --- a/ash/mus/window_manager.cc
|
| +++ b/ash/mus/window_manager.cc
|
| @@ -316,12 +316,11 @@ void WindowManager::SetWindowManagerClient(aura::WindowManagerClient* client) {
|
| ash::Shell::set_window_manager_client(client);
|
| }
|
|
|
| -bool WindowManager::OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) {
|
| +void WindowManager::OnWmSetBounds(aura::Window* window,
|
| + const gfx::Rect& bounds) {
|
| // TODO(sky): this indirectly sets bounds, which is against what
|
| // OnWmSetBounds() recommends doing. Remove that restriction, or fix this.
|
| - WmWindow::Get(window)->SetBounds(*bounds);
|
| - *bounds = window->bounds();
|
| - return true;
|
| + WmWindow::Get(window)->SetBounds(bounds);
|
| }
|
|
|
| bool WindowManager::OnWmSetProperty(
|
|
|