Index: tests/KtxTest.cpp |
diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp |
index 93edaf41f1b50af8fed9e4c444f7d56021c0b2be..5cec2bf297c2db1ad929b629387372d5f515e29e 100644 |
--- a/tests/KtxTest.cpp |
+++ b/tests/KtxTest.cpp |
@@ -62,7 +62,7 @@ DEF_TEST(KtxReadWrite, reporter) { |
bool imageDecodeSuccess = SkImageDecoder::DecodeStream(stream, &decodedBitmap); |
REPORTER_ASSERT(reporter, imageDecodeSuccess); |
- REPORTER_ASSERT(reporter, decodedBitmap.config() == bm8888.config()); |
+ REPORTER_ASSERT(reporter, decodedBitmap.colorType() == bm8888.colorType()); |
REPORTER_ASSERT(reporter, decodedBitmap.alphaType() == bm8888.alphaType()); |
REPORTER_ASSERT(reporter, decodedBitmap.width() == bm8888.width()); |
REPORTER_ASSERT(reporter, decodedBitmap.height() == bm8888.height()); |