| Index: tools/picture_utils.cpp
|
| diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp
|
| index a6803c67db42efdb26d5a4d8a50869860350a65c..453320122b7092f661c9697e72270258201adbb3 100644
|
| --- a/tools/picture_utils.cpp
|
| +++ b/tools/picture_utils.cpp
|
| @@ -18,9 +18,8 @@
|
|
|
| namespace sk_tools {
|
| void force_all_opaque(const SkBitmap& bitmap) {
|
| - SkASSERT(nullptr == bitmap.getTexture());
|
| SkASSERT(kN32_SkColorType == bitmap.colorType());
|
| - if (bitmap.getTexture() || kN32_SkColorType == bitmap.colorType()) {
|
| + if (kN32_SkColorType == bitmap.colorType()) {
|
| return;
|
| }
|
|
|
|
|