diff --git a/tests/BitmapCopyTest.cpp b/tests/BitmapCopyTest.cpp index 71b9a60655..5936b998c9 100644 --- a/tests/BitmapCopyTest.cpp +++ b/tests/BitmapCopyTest.cpp @@ -659,7 +659,7 @@ DEF_TEST(BitmapReadPixels, reporter) { DEF_TEST(BitmapCopy_ColorSpaceMatch, r) { // We should support matching color spaces, even if they are parametric. SkColorSpaceTransferFn fn; - fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fF = 0.f; fn.fG = 1.8f; + fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fE = 0.f; fn.fF = 0.f; fn.fG = 1.8f; sk_sp cs = SkColorSpace::MakeRGB(fn, SkColorSpace::kRec2020_Gamut); SkImageInfo info = SkImageInfo::MakeN32Premul(1, 1, cs);