| Index: ui/gfx/mojo/icc_profile_struct_traits.h
|
| diff --git a/ui/gfx/mojo/icc_profile_struct_traits.h b/ui/gfx/mojo/icc_profile_struct_traits.h
|
| index 23ceda9dcfcf94caa6b0caf2f1397d6c663f4aac..47d68b6359df1baa973a307fc2031e2a13e1bfb3 100644
|
| --- a/ui/gfx/mojo/icc_profile_struct_traits.h
|
| +++ b/ui/gfx/mojo/icc_profile_struct_traits.h
|
| @@ -17,7 +17,12 @@ namespace mojo {
|
|
|
| template <>
|
| struct StructTraits<gfx::mojom::ICCProfileDataView, gfx::ICCProfile> {
|
| - static bool valid(const gfx::ICCProfile& profile) { return profile.valid_; }
|
| + static gfx::ICCProfile::Type type(const gfx::ICCProfile& profile) {
|
| + return profile.type_;
|
| + }
|
| + static gfx::ColorSpace color_space(const gfx::ICCProfile& profile) {
|
| + return profile.color_space_;
|
| + }
|
| static base::StringPiece data(const gfx::ICCProfile& profile) {
|
| return base::StringPiece(profile.data_.data(), profile.data_.size());
|
| }
|
|
|