| Index: cc/ipc/render_pass_struct_traits.h
|
| diff --git a/cc/ipc/render_pass_struct_traits.h b/cc/ipc/render_pass_struct_traits.h
|
| index 124415233ca29242591d90d5a37c90eab52ed552..ee69709baec8443799ff6cd1867a0de2e64c33bf 100644
|
| --- a/cc/ipc/render_pass_struct_traits.h
|
| +++ b/cc/ipc/render_pass_struct_traits.h
|
| @@ -9,6 +9,7 @@
|
| #include "cc/ipc/quads_struct_traits.h"
|
| #include "cc/ipc/render_pass.mojom-shared.h"
|
| #include "cc/quads/render_pass.h"
|
| +#include "ui/gfx/ipc/color/gfx_param_traits.h"
|
| #include "ui/gfx/mojo/transform_struct_traits.h"
|
|
|
| namespace mojo {
|
| @@ -46,6 +47,11 @@ struct StructTraits<cc::mojom::RenderPassDataView,
|
| return input->background_filters;
|
| }
|
|
|
| + static const gfx::ColorSpace& color_space(
|
| + const std::unique_ptr<cc::RenderPass>& input) {
|
| + return input->color_space;
|
| + }
|
| +
|
| static bool has_transparent_background(
|
| const std::unique_ptr<cc::RenderPass>& input) {
|
| return input->has_transparent_background;
|
|
|