| Index: ui/gfx/icc_profile.h
|
| diff --git a/ui/gfx/icc_profile.h b/ui/gfx/icc_profile.h
|
| index e1b51b0a1ca2cd4a6e2ca334500985bdbe70cb32..fd08ba8e68c9f58663fe69ca04b3235adefb1dac 100644
|
| --- a/ui/gfx/icc_profile.h
|
| +++ b/ui/gfx/icc_profile.h
|
| @@ -17,8 +17,16 @@
|
|
|
| extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size);
|
|
|
| +namespace mojo {
|
| +template <typename, typename> struct StructTraits;
|
| +}
|
| +
|
| namespace gfx {
|
|
|
| +namespace mojom {
|
| +class ICCProfileDataView;
|
| +}
|
| +
|
| // Used to represent a full ICC profile, usually retrieved from a monitor. It
|
| // can be lossily compressed into a ColorSpace object. This structure should
|
| // only be sent from higher-privilege processes to lower-privilege processes,
|
| @@ -77,6 +85,8 @@ class GFX_EXPORT ICCProfile {
|
| friend int ::LLVMFuzzerTestOneInput(const uint8_t*, size_t);
|
| friend class ColorSpace;
|
| friend struct IPC::ParamTraits<gfx::ICCProfile>;
|
| + friend struct mojo::StructTraits<gfx::mojom::ICCProfileDataView,
|
| + gfx::ICCProfile>;
|
| };
|
|
|
| } // namespace gfx
|
|
|