| Index: ui/gfx/icc_profile.cc
|
| diff --git a/ui/gfx/icc_profile.cc b/ui/gfx/icc_profile.cc
|
| index fd6f4c899d8e46c85b526c030413b74cf652c902..cd3e4e88dc724724ba7cf47cf5bba899679eccec 100644
|
| --- a/ui/gfx/icc_profile.cc
|
| +++ b/ui/gfx/icc_profile.cc
|
| @@ -103,8 +103,9 @@ const std::vector<char>& ICCProfile::GetData() const {
|
| }
|
|
|
| ColorSpace ICCProfile::GetColorSpace() const {
|
| - ColorSpace color_space;
|
| - color_space.valid_ = true;
|
| + ColorSpace color_space(ColorSpace::PrimaryID::CUSTOM,
|
| + ColorSpace::TransferID::CUSTOM,
|
| + ColorSpace::MatrixID::RGB, ColorSpace::RangeID::FULL);
|
| color_space.icc_profile_id_ = id_;
|
|
|
| // Move this ICC profile to the most recently used end of the cache.
|
|
|