diff --git a/tests/CodecTest.cpp b/tests/CodecTest.cpp index 474cdc6931..14b227c7d0 100644 --- a/tests/CodecTest.cpp +++ b/tests/CodecTest.cpp @@ -1020,8 +1020,7 @@ static void check_color_xform(skiatest::Reporter* r, const char* path) { const int dstWidth = subsetWidth / opts.fSampleSize; const int dstHeight = subsetHeight / opts.fSampleSize; - sk_sp data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); - sk_sp colorSpace = SkColorSpace::MakeICC(data->data(), data->size()); + auto colorSpace = SkColorSpace::MakeRGB(g2Dot2_TransferFn, SkColorSpace::kAdobeRGB_Gamut); SkImageInfo dstInfo = codec->getInfo().makeWH(dstWidth, dstHeight) .makeColorType(kN32_SkColorType) .makeColorSpace(colorSpace);