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

Unified Diff: cc/surfaces/surface_manager.cc

Issue 2520513002: Add DisplayCompositorTest. (Closed)
Patch Set: Add non-exported base. Created 4 years 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 | « cc/surfaces/surface_manager.h ('k') | cc/surfaces/surface_reference_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « cc/surfaces/surface_manager.h ('k') | cc/surfaces/surface_reference_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698