Index: ui/gfx/color_space.h |
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h |
index 89bb0e898637e9f5a5f04b6ce97c617a2fc8caa7..247e641d7825d6fce38cddee4ad5e5baf91c4e4d 100644 |
--- a/ui/gfx/color_space.h |
+++ b/ui/gfx/color_space.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
+#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
#include "build/build_config.h" |
#include "ui/gfx/gfx_export.h" |
@@ -132,6 +133,9 @@ class GFX_EXPORT ColorSpace { |
MatrixID matrix_; |
RangeID range_; |
+ // Only used if primaries_ == PrimaryID::CUSTOM |
+ float custom_primary_matrix_[12]; |
+ |
// This is used to look up the ICCProfile from which this ColorSpace was |
// created, if possible. |
uint64_t icc_profile_id_ = 0; |
@@ -139,6 +143,7 @@ class GFX_EXPORT ColorSpace { |
friend class ICCProfile; |
friend class ColorSpaceToColorSpaceTransform; |
friend struct IPC::ParamTraits<gfx::ColorSpace>; |
+ FRIEND_TEST_ALL_PREFIXES(SimpleColorSpace, GetColorSpace); |
}; |
} // namespace gfx |