Index: tests/BlitRowTest.cpp |
diff --git a/tests/BlitRowTest.cpp b/tests/BlitRowTest.cpp |
index 911f2a0f40a4ca5c2663ebc6bdf3f3cc5c031d89..4689a305ac76740a67abd2bc50defec5633e2c42 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); |