Index: tests/ColorSpaceTest.cpp |
diff --git a/tests/ColorSpaceTest.cpp b/tests/ColorSpaceTest.cpp |
index b06dc642fb5cd57974ec7c8ed133c1dfccb56113..4b39ab02c66e0e996e06cb129e08c66e7805b7d7 100644 |
--- a/tests/ColorSpaceTest.cpp |
+++ b/tests/ColorSpaceTest.cpp |
@@ -163,6 +163,5 @@ DEF_TEST(ColorSpace_Named, r) { |
} |
SkImageInfo info = SkImageInfo::MakeS32(10, 10, kPremul_SkAlphaType); |
- REPORTER_ASSERT(r, kSRGB_SkColorProfileType == info.profileType()); |
- REPORTER_ASSERT(r, SkColorSpace::kSRGB_GammaNamed == info.colorSpace()->gammaNamed()); |
+ REPORTER_ASSERT(r, info.gammaCloseToSRGB()); |
} |