| Index: skia/ext/image_operations.cc
|
| diff --git a/skia/ext/image_operations.cc b/skia/ext/image_operations.cc
|
| index bcf01dd0355ee34ed6c81766a7585adc7373d1ed..bf063d7719b20170537d483698a5d37a052152d0 100644
|
| --- a/skia/ext/image_operations.cc
|
| +++ b/skia/ext/image_operations.cc
|
| @@ -495,7 +495,7 @@ SkBitmap ImageOperations::ResizeBasic(const SkBitmap& source,
|
| (method <= ImageOperations::RESIZE_LAST_ALGORITHM_METHOD));
|
|
|
| SkAutoLockPixels locker(source);
|
| - if (!source.readyToDraw() || source.config() != SkBitmap::kARGB_8888_Config)
|
| + if (!source.readyToDraw() || source.colorType() != kN32_SkColorType)
|
| return SkBitmap();
|
|
|
| ResizeFilter filter(method, source.width(), source.height(),
|
|
|