diff --git a/tests/ColorSpaceXformTest.cpp b/tests/ColorSpaceXformTest.cpp index 3b4a0bdc38..b5df1e1e72 100644 --- a/tests/ColorSpaceXformTest.cpp +++ b/tests/ColorSpaceXformTest.cpp @@ -40,7 +40,7 @@ static void test_xform(skiatest::Reporter* r, const sk_sp& gammas) { uint32_t dstPixels[width]; // Identity matrix - SkMatrix44 srcToDst(SkMatrix44::kIdentity_Constructor); + SkMatrix44 srcToDst = SkMatrix44::I(); // Create and perform xform std::unique_ptr xform =