Index: ui/gfx/color_space.h |
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h |
index 6e351899e16fe3f4523a17f571c6e873d5eb6e26..bfd06e9565bd3ddf6064ff26f90151baa17609c5 100644 |
--- a/ui/gfx/color_space.h |
+++ b/ui/gfx/color_space.h |
@@ -132,6 +132,11 @@ class GFX_EXPORT ColorSpace { |
bool operator!=(const ColorSpace& other) const; |
bool operator<(const ColorSpace& other) const; |
+ PrimaryID primaries() const { return primaries_; } |
+ TransferID transfer_function() const { return transfer_; } |
+ MatrixID matrix() const { return matrix_; } |
+ RangeID range() const { return range_; } |
+ |
private: |
PrimaryID primaries_ = PrimaryID::UNSPECIFIED; |
TransferID transfer_ = TransferID::UNSPECIFIED; |