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

Unified Diff: cc/surfaces/surface_manager.cc

Issue 2520513002: Add DisplayCompositorTest. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: cc/surfaces/surface_manager.cc
diff --git a/cc/surfaces/surface_manager.cc b/cc/surfaces/surface_manager.cc
index b8b121142ff7f18f707f9dea142be0f0faa6c6ee..b95954aab2659af9264ca1d6977304f64427dfd8 100644
--- a/cc/surfaces/surface_manager.cc
+++ b/cc/surfaces/surface_manager.cc
@@ -90,6 +90,10 @@ void SurfaceManager::InvalidateFrameSinkId(const FrameSinkId& frame_sink_id) {
GarbageCollectSurfaces();
}
+const SurfaceId& SurfaceManager::GetRootSurfaceId() const {
+ return kRootSurfaceId;
+}
+
void SurfaceManager::AddSurfaceReference(const SurfaceId& parent_id,
const SurfaceId& child_id) {
DCHECK(thread_checker_.CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698