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

Unified Diff: components/viz/frame_sinks/mojo_frame_sink_manager.h

Issue 2802773002: Pick surface lifetime type with arg. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | components/viz/frame_sinks/mojo_frame_sink_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/frame_sinks/mojo_frame_sink_manager.h
diff --git a/components/viz/frame_sinks/mojo_frame_sink_manager.h b/components/viz/frame_sinks/mojo_frame_sink_manager.h
index fc33393ce50a46483b728ffe6c08c360fb14f016..53785d95dee2b13f3ed95b0d3da29c4e09d9b856 100644
--- a/components/viz/frame_sinks/mojo_frame_sink_manager.h
+++ b/components/viz/frame_sinks/mojo_frame_sink_manager.h
@@ -36,12 +36,13 @@ class MojoFrameSinkManager : public cc::SurfaceObserver,
public GpuCompositorFrameSinkDelegate,
public cc::mojom::FrameSinkManager {
public:
- MojoFrameSinkManager(DisplayProvider* display_provider,
+ MojoFrameSinkManager(bool use_surface_references,
+ DisplayProvider* display_provider,
cc::mojom::FrameSinkManagerRequest request,
cc::mojom::FrameSinkManagerClientPtr client);
~MojoFrameSinkManager() override;
- cc::SurfaceManager* manager() { return &manager_; }
+ cc::SurfaceManager* surface_manager() { return &manager_; }
// cc::mojom::MojoFrameSinkManager implementation:
void CreateRootCompositorFrameSink(
« no previous file with comments | « no previous file | components/viz/frame_sinks/mojo_frame_sink_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698