Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Unified Diff: components/mus/ws/test_server_window_delegate.cc

Issue 1673783004: Hook up BeginFrameSource to SurfaceFactoryClient via SurfaceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register id namespace on Android Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/ws/test_server_window_delegate.h ('k') | components/mus/ws/window_finder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « components/mus/ws/test_server_window_delegate.h ('k') | components/mus/ws/window_finder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698