| Index: tools/picture_utils.cpp
|
| diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp
|
| index d88d922af966b7348c169cb567912e0039da8543..597fd4878f338c75aa2e594141768b4e621fa017 100644
|
| --- a/tools/picture_utils.cpp
|
| +++ b/tools/picture_utils.cpp
|
| @@ -17,8 +17,8 @@
|
| namespace sk_tools {
|
| void force_all_opaque(const SkBitmap& bitmap) {
|
| SkASSERT(NULL == bitmap.getTexture());
|
| - SkASSERT(SkBitmap::kARGB_8888_Config == bitmap.config());
|
| - if (NULL != bitmap.getTexture() || SkBitmap::kARGB_8888_Config == bitmap.config()) {
|
| + SkASSERT(kN32_SkColorType == bitmap.colorType());
|
| + if (NULL != bitmap.getTexture() || kN32_SkColorType == bitmap.colorType()) {
|
| return;
|
| }
|
|
|
|
|