Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 58555d37058d7050340704847fa204956337f7db..775b8c6c0567c527aa6f76de15fbe7bfb3f40b78 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -921,7 +921,7 @@ static void test_surface_creation_and_snapshot_with_color_space( |
auto srgbColorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |
auto adobeColorSpace = SkColorSpace::NewNamed(SkColorSpace::kAdobeRGB_Named); |
- SkMatrix44 srgbMatrix = srgbColorSpace->xyz(); |
+ SkMatrix44 srgbMatrix = srgbColorSpace->toXYZD50(); |
const float oddGamma[] = { 2.4f, 2.4f, 2.4f }; |
auto oddColorSpace = SkColorSpace_Base::NewRGB(oddGamma, srgbMatrix); |
auto linearColorSpace = srgbColorSpace->makeLinearGamma(); |