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

Unified Diff: cc/ipc/display_compositor.mojom

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « no previous file | cc/ipc/mojo_compositor_frame_sink.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/display_compositor.mojom
diff --git a/cc/ipc/display_compositor.mojom b/cc/ipc/display_compositor.mojom
index 5e4813f067553ce9e2f803c863c07d9b863996fe..9af5fad5ace1bd78cfbbb43ca034a65e62aa3155 100644
--- a/cc/ipc/display_compositor.mojom
+++ b/cc/ipc/display_compositor.mojom
@@ -67,6 +67,10 @@ interface DisplayCompositor {
// Removes a BeginFrame relationship between two FrameSinkIds.
UnregisterFrameSinkHierarchy(cc.mojom.FrameSinkId parent_frame_sink_id,
cc.mojom.FrameSinkId child_frame_sink_id);
+
+ // Drops the temporary reference for |surface_id|. This will get called when
+ // the DisplayCompositorClient doesn't think |surface_id| will be embedded.
+ DropTemporaryReference(cc.mojom.SurfaceId surface_id);
};
// The DisplayCompositorClient interface is implemented by the Display
« no previous file with comments | « no previous file | cc/ipc/mojo_compositor_frame_sink.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698