Index: ui/compositor/compositor.h |
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h |
index ee39c5943659e8f49eebe333bde230ea1ff3f9ac..05c3bcc93eca5df31894d4ea2df99eb154cc043a 100644 |
--- a/ui/compositor/compositor.h |
+++ b/ui/compositor/compositor.h |
@@ -128,9 +128,8 @@ class COMPOSITOR_EXPORT ContextFactory { |
// Gets the task graph runner. |
virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; |
- // Creates a Surface ID allocator with a new namespace. |
- virtual std::unique_ptr<cc::SurfaceIdAllocator> |
- CreateSurfaceIdAllocator() = 0; |
+ // Allocate a new client ID for the display compositor. |
+ virtual uint32_t AllocateSurfaceClientId() = 0; |
// Gets the surface manager. |
virtual cc::SurfaceManager* GetSurfaceManager() = 0; |