diff options
Diffstat (limited to 'tests/BlitRowTest.cpp')
-rw-r--r-- | tests/BlitRowTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BlitRowTest.cpp b/tests/BlitRowTest.cpp index 911f2a0f40..4689a305ac 100644 --- a/tests/BlitRowTest.cpp +++ b/tests/BlitRowTest.cpp @@ -212,7 +212,7 @@ static void test_diagonal(skiatest::Reporter* reporter) { kPremul_SkAlphaType); for (size_t i = 0; i < SK_ARRAY_COUNT(gDstColorType); i++) { - info.fColorType = gDstColorType[i]; + info = info.makeColorType(gDstColorType[i]); SkBitmap dstBM0, dstBM1; dstBM0.allocPixels(info); |