aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/KtxTest.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-06-14 05:30:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-14 05:30:20 -0700
commit0689d7b12e7c427a077b003d3d8ae759d86f798f (patch)
treeac2125dd7a653ea67b693ddd7937b41b41db73fb /tests/KtxTest.cpp
parentc6dbd6f95ed3e2647a5ee0c44b2c317d0b8b913a (diff)
stop using SkBitmap::Config
R=scroggo@google.com Author: reed@chromium.org Review URL: https://codereview.chromium.org/338493005
Diffstat (limited to 'tests/KtxTest.cpp')
-rw-r--r--tests/KtxTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp
index 94a4c22e03..93edaf41f1 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);