Index: tests/KtxTest.cpp |
diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp |
index 94a4c22e033cffa7f767de5e10343be26b3b7438..93edaf41f1b50af8fed9e4c444f7d56021c0b2be 100644 |
--- a/tests/KtxTest.cpp |
+++ b/tests/KtxTest.cpp |
@@ -115,7 +115,7 @@ DEF_TEST(KtxReadUnpremul, reporter) { |
bool imageDecodeSuccess = SkImageDecoder::DecodeStream(stream, &decodedBitmap); |
REPORTER_ASSERT(reporter, imageDecodeSuccess); |
- REPORTER_ASSERT(reporter, decodedBitmap.config() == SkBitmap::kARGB_8888_Config); |
+ REPORTER_ASSERT(reporter, decodedBitmap.colorType() == kN32_SkColorType); |
REPORTER_ASSERT(reporter, decodedBitmap.alphaType() == kPremul_SkAlphaType); |
REPORTER_ASSERT(reporter, decodedBitmap.width() == 2); |
REPORTER_ASSERT(reporter, decodedBitmap.height() == 2); |