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

Unified Diff: cc/ipc/compositor_frame_metadata_struct_traits.h

Issue 2585543003: Revert of Getting rid of CompositorFrameMetadata::satisfies_sequences (Closed)
Patch Set: Created 4 years 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 | « cc/ipc/compositor_frame_metadata.mojom ('k') | cc/ipc/compositor_frame_metadata_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/compositor_frame_metadata_struct_traits.h
diff --git a/cc/ipc/compositor_frame_metadata_struct_traits.h b/cc/ipc/compositor_frame_metadata_struct_traits.h
index 318e198158fa0172d24f75abd2434b2b19f9d308..1a78c2aa8cf17a136884ef93089bb2998872061f 100644
--- a/cc/ipc/compositor_frame_metadata_struct_traits.h
+++ b/cc/ipc/compositor_frame_metadata_struct_traits.h
@@ -101,6 +101,11 @@
return metadata.latency_info;
}
+ static const std::vector<uint32_t>& satisfies_sequences(
+ const cc::CompositorFrameMetadata& metadata) {
+ return metadata.satisfies_sequences;
+ }
+
static const std::vector<cc::SurfaceId>& referenced_surfaces(
const cc::CompositorFrameMetadata& metadata) {
return metadata.referenced_surfaces;
« no previous file with comments | « cc/ipc/compositor_frame_metadata.mojom ('k') | cc/ipc/compositor_frame_metadata_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698