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

Unified Diff: cc/surfaces/surface_manager.h

Issue 2685393003: Surfaces: Allow parent to refer to child surfaces that don't exist yet. (Closed)
Patch Set: Added unit test Created 3 years, 10 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
Index: cc/surfaces/surface_manager.h
diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h
index 82ba742ddc3588d214a7d504566dd46a812dbcce..b4785a246836dd4085202d496482e72856590764 100644
--- a/cc/surfaces/surface_manager.h
+++ b/cc/surfaces/surface_manager.h
@@ -38,6 +38,10 @@ class CompositorFrame;
class Surface;
class SurfaceFactoryClient;
+namespace test {
+class CompositorFrameSinkSupportTest;
+}
+
class CC_SURFACES_EXPORT SurfaceManager {
public:
enum class LifetimeType {
@@ -161,6 +165,7 @@ class CC_SURFACES_EXPORT SurfaceManager {
}
private:
+ friend class test::CompositorFrameSinkSupportTest;
friend class SurfaceManagerRefTest;
using SurfaceIdSet = std::unordered_set<SurfaceId, SurfaceIdHash>;

Powered by Google App Engine
This is Rietveld 408576698