| Index: ui/gfx/color_space.h
|
| diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
|
| index d1fa5829774cb5884968fbbdf2c5b2fc2c8ac44f..e05fbc3124c572f9f1cea342343e343f9ff4c331 100644
|
| --- a/ui/gfx/color_space.h
|
| +++ b/ui/gfx/color_space.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| #include "build/build_config.h"
|
| +#include "third_party/skia/include/core/SkColorSpace.h"
|
| #include "ui/gfx/gfx_export.h"
|
|
|
| namespace IPC {
|
| @@ -17,10 +18,6 @@ template <class P>
|
| struct ParamTraits;
|
| } // namespace IPC
|
|
|
| -template <typename T>
|
| -class sk_sp;
|
| -class SkColorSpace;
|
| -
|
| namespace gfx {
|
|
|
| class ICCProfile;
|
| @@ -144,7 +141,9 @@ class GFX_EXPORT ColorSpace {
|
| TransferID transfer,
|
| MatrixID matrix,
|
| RangeID full_range);
|
| + ColorSpace(const ColorSpace& other);
|
| ColorSpace(int primaries, int transfer, int matrix, RangeID full_range);
|
| + ~ColorSpace();
|
|
|
| static PrimaryID PrimaryIDFromInt(int primary_id);
|
| static TransferID TransferIDFromInt(int transfer_id);
|
| @@ -179,6 +178,8 @@ class GFX_EXPORT ColorSpace {
|
| // created, if possible.
|
| uint64_t icc_profile_id_ = 0;
|
|
|
| + sk_sp<SkColorSpace> sk_color_space_;
|
| +
|
| friend class ICCProfile;
|
| friend class ColorSpaceToColorSpaceTransform;
|
| friend class ColorSpaceWin;
|
|
|