| Index: mash/simple_wm/simple_wm.cc
|
| diff --git a/mash/simple_wm/simple_wm.cc b/mash/simple_wm/simple_wm.cc
|
| index 49917e298038468c406f6f578fbb3b05073c1366..92357cd53a64c66029cf1a7919775b1332024dd4 100644
|
| --- a/mash/simple_wm/simple_wm.cc
|
| +++ b/mash/simple_wm/simple_wm.cc
|
| @@ -138,10 +138,9 @@ void SimpleWM::SetWindowManagerClient(
|
| window_manager_client_ = client;
|
| }
|
|
|
| -bool SimpleWM::OnWmSetBounds(aura::Window* window, gfx::Rect* bounds) {
|
| +void SimpleWM::OnWmSetBounds(aura::Window* window, const gfx::Rect& bounds) {
|
| FrameView* frame_view = GetFrameViewForClientWindow(window);
|
| - frame_view->GetWidget()->SetBounds(*bounds);
|
| - return true;
|
| + frame_view->GetWidget()->SetBounds(bounds);
|
| }
|
|
|
| bool SimpleWM::OnWmSetProperty(
|
|
|