diff options
author | reed <reed@google.com> | 2014-06-17 08:38:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-17 08:38:31 -0700 |
commit | c3b3266b7db2f1a41d41ecac010c766b7ad8eebc (patch) | |
tree | c45d9892b2ac00bfe74f322eafb6e68d8121a9ea /tests | |
parent | a272d6d0653620cb6b683a70d3e6993d380147d9 (diff) |
hide SkBitmap::Config entirely (behind a flag)
patch from issue 339463002
TBR=
I think the NoGPU failure is unrelated, so ignoring
NOTRY=True
Author: reed@google.com
Review URL: https://codereview.chromium.org/340533002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/KtxTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp index 93edaf41f1..5cec2bf297 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()); |