| 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 9bf8c075c6248e68b1555fc052c10d30cb6d2e80..04daa5d0cf6430877a7509943f2ce95c11905d10 100644
|
| --- a/cc/ipc/compositor_frame_metadata_struct_traits.h
|
| +++ b/cc/ipc/compositor_frame_metadata_struct_traits.h
|
| @@ -57,6 +57,10 @@ struct StructTraits<cc::mojom::CompositorFrameMetadata,
|
| return metadata.root_overflow_y_hidden;
|
| }
|
|
|
| + static bool may_contain_video(const cc::CompositorFrameMetadata& metadata) {
|
| + return metadata.may_contain_video;
|
| + }
|
| +
|
| static bool is_resourceless_software_draw_with_scroll_or_animation(
|
| const cc::CompositorFrameMetadata& metadata) {
|
| return metadata.is_resourceless_software_draw_with_scroll_or_animation;
|
|
|