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

Unified Diff: cc/ipc/compositor_frame_struct_traits.h

Issue 2503203002: Revert "Getting rid of DelegatedFrameData" (Closed)
Patch Set: Created 4 years, 1 month 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/cc_serialization_perftest.cc ('k') | cc/ipc/compositor_frame_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_struct_traits.h
diff --git a/cc/ipc/compositor_frame_struct_traits.h b/cc/ipc/compositor_frame_struct_traits.h
index 63c191bd038892324a02bdde0e8eced6732e509d..662c1c5c12227d33536b052c89c1fa500b73e585 100644
--- a/cc/ipc/compositor_frame_struct_traits.h
+++ b/cc/ipc/compositor_frame_struct_traits.h
@@ -19,11 +19,11 @@ struct StructTraits<cc::mojom::CompositorFrameDataView, cc::CompositorFrame> {
static const cc::TransferableResourceArray& resources(
const cc::CompositorFrame& input) {
- return input.resource_list;
+ return input.delegated_frame_data->resource_list;
}
static const cc::RenderPassList& passes(const cc::CompositorFrame& input) {
- return input.render_pass_list;
+ return input.delegated_frame_data->render_pass_list;
}
static bool Read(cc::mojom::CompositorFrameDataView data,
« no previous file with comments | « cc/ipc/cc_serialization_perftest.cc ('k') | cc/ipc/compositor_frame_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698