| Index: ui/gfx/icc_profile_unittest.cc
|
| diff --git a/ui/gfx/icc_profile_unittest.cc b/ui/gfx/icc_profile_unittest.cc
|
| index ecb17139b9f10d2a3692a897bcc3a876307270fa..57a52c0c5b83a0254dfebb022d0431b3b45bd52b 100644
|
| --- a/ui/gfx/icc_profile_unittest.cc
|
| +++ b/ui/gfx/icc_profile_unittest.cc
|
| @@ -22,10 +22,17 @@ TEST(ICCProfile, Conversions) {
|
| }
|
|
|
| TEST(ICCProfile, SRGB) {
|
| + ICCProfile icc_profile = ICCProfileForTestingSRGB();
|
| ColorSpace color_space = ColorSpace::CreateSRGB();
|
| sk_sp<SkColorSpace> sk_color_space = SkColorSpace::MakeSRGB();
|
|
|
| - // These should be the same pointer, not just equal.
|
| + // The ICC profile parser should note that this is SRGB.
|
| + EXPECT_EQ(icc_profile.GetColorSpace().ToSkColorSpace().get(),
|
| + sk_color_space.get());
|
| + // The parametric generating code should recognize that this is SRGB.
|
| + EXPECT_EQ(icc_profile.GetParametricColorSpace().ToSkColorSpace().get(),
|
| + sk_color_space.get());
|
| + // The generated color space should recognize that this is SRGB.
|
| EXPECT_EQ(color_space.ToSkColorSpace().get(), sk_color_space.get());
|
| }
|
|
|
|
|