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