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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2383373002: Reduce SurfaceIdAllocator usage and tie SurfaceFactory to a single FrameSinkId (Closed)
Patch Set: Fix TestRenderViewHost + Mac Created 4 years, 2 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: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index 4ec50dedbc9b1a10e02f53216ccfcf6834dacf80..212bff78d4f71fe02cbe61654579a1f65d053f38 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -68,10 +68,11 @@ class DisplayCompositor : public cc::SurfaceFactoryClient,
const cc::RenderPassList& render_passes) override;
void DisplayDidDrawAndSwap() override;
+ cc::FrameSinkId frame_sink_id_;
sky 2016/10/03 19:18:25 If possible make this const.
Fady Samuel 2016/10/03 19:45:29 Done.
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
scoped_refptr<SurfacesState> surfaces_state_;
- cc::SurfaceFactory factory_;
cc::SurfaceIdAllocator allocator_;
+ cc::SurfaceFactory factory_;
cc::SurfaceId surface_id_;
gfx::Size display_size_;

Powered by Google App Engine
This is Rietveld 408576698