Index: tests/ColorSpaceTest.cpp |
diff --git a/tests/ColorSpaceTest.cpp b/tests/ColorSpaceTest.cpp |
index fabeeb81f8ebb8a26e15ae6d10e900f528f02a78..e9cc14ff45bf65d8db002c9d56955b3cd05209e7 100644 |
--- a/tests/ColorSpaceTest.cpp |
+++ b/tests/ColorSpaceTest.cpp |
@@ -121,7 +121,7 @@ DEF_TEST(ColorSpaceSRGBLinearCompare, r) { |
// Create the linear sRGB color space via the sRGB color space's makeLinearGamma() |
sk_sp<SkColorSpace> viaSrgbColorSpace = |
- SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named)->makeLinearGamma(); |
+ as_CSB(SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named))->makeLinearGamma(); |
REPORTER_ASSERT(r, namedColorSpace == viaSrgbColorSpace); |
// Create a linear sRGB color space by value |