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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Cleanup. 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/compositor_frame_sink_support.h
diff --git a/cc/surfaces/compositor_frame_sink_support.h b/cc/surfaces/compositor_frame_sink_support.h
index 5feef007b7c0405d5b700c23bb48d772979877d3..52a9fa35caa90d88fa92d4f27a5db2373d601dc7 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -7,6 +7,7 @@
#include <memory>
#include <unordered_set>
+#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
@@ -57,6 +58,7 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
void RemoveChildFrameSink(const FrameSinkId& child_frame_sink_id);
void RequestCopyOfSurface(std::unique_ptr<CopyOutputRequest> request);
void ForceReclaimResources();
+ void ClaimTemporaryReference(const SurfaceId& surface_id);
private:
// Update surface references with SurfaceManager for current CompositorFrame

Powered by Google App Engine
This is Rietveld 408576698