| Index: components/mus/ws/test_server_window_delegate.cc
|
| diff --git a/components/mus/ws/test_server_window_delegate.cc b/components/mus/ws/test_server_window_delegate.cc
|
| index 9a033b3980a45a693b1b0f5d1798989739ea3325..1660e7826970a297112cb383d5db17c379aba64b 100644
|
| --- a/components/mus/ws/test_server_window_delegate.cc
|
| +++ b/components/mus/ws/test_server_window_delegate.cc
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "components/mus/surfaces/surfaces_state.h"
|
| #include "components/mus/ws/test_server_window_delegate.h"
|
| #include "components/mus/ws/server_window.h"
|
|
|
| @@ -9,12 +10,13 @@ namespace mus {
|
|
|
| namespace ws {
|
|
|
| -TestServerWindowDelegate::TestServerWindowDelegate() : root_window_(nullptr) {}
|
| +TestServerWindowDelegate::TestServerWindowDelegate()
|
| + : root_window_(nullptr), surfaces_state_(new SurfacesState()) {}
|
|
|
| TestServerWindowDelegate::~TestServerWindowDelegate() {}
|
|
|
| mus::SurfacesState* TestServerWindowDelegate::GetSurfacesState() {
|
| - return nullptr;
|
| + return surfaces_state_.get();
|
| }
|
|
|
| void TestServerWindowDelegate::OnScheduleWindowPaint(ServerWindow* window) {}
|
|
|