Index: tests/SkImageTest.cpp |
diff --git a/tests/SkImageTest.cpp b/tests/SkImageTest.cpp |
index 80ba776af106ae85b827332b97f253f8195ce078..3ba63b425891bcb237b8c0eb37375907ac1c75f9 100644 |
--- a/tests/SkImageTest.cpp |
+++ b/tests/SkImageTest.cpp |
@@ -38,7 +38,7 @@ DEF_TEST(SkImageFromBitmap_extractSubset, reporter) { |
canvas.drawImage(image, 0, 0, NULL); |
uint32_t pixel = 0; |
- SkImageInfo info = SkImageInfo::MakeN32Premul(1, 1); |
+ SkImageInfo info = SkImageInfo::Make(1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType); |
canvas.readPixels(info, &pixel, 4, 0, 0); |
REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); |
canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); |