| Index: services/ui/ws/window_server_test_base.cc
|
| diff --git a/services/ui/ws/window_server_test_base.cc b/services/ui/ws/window_server_test_base.cc
|
| index 334f63d026be6d509c4033c72d18951febecc693..34f099670fa0d2bfefa01ba9eb4b8a41d6e4c899 100644
|
| --- a/services/ui/ws/window_server_test_base.cc
|
| +++ b/services/ui/ws/window_server_test_base.cc
|
| @@ -152,11 +152,11 @@ void WindowServerTestBase::SetWindowManagerClient(
|
| window_manager_client_ = client;
|
| }
|
|
|
| -bool WindowServerTestBase::OnWmSetBounds(aura::Window* window,
|
| - gfx::Rect* bounds) {
|
| - return window_manager_delegate_
|
| - ? window_manager_delegate_->OnWmSetBounds(window, bounds)
|
| - : true;
|
| +void WindowServerTestBase::OnWmSetBounds(aura::Window* window,
|
| + const gfx::Rect& bounds) {
|
| + if (!window_manager_delegate_)
|
| + return;
|
| + window_manager_delegate_->OnWmSetBounds(window, bounds);
|
| }
|
|
|
| bool WindowServerTestBase::OnWmSetProperty(
|
|
|