| Index: src/images/SkImageDecoder.cpp
|
| diff --git a/src/images/SkImageDecoder.cpp b/src/images/SkImageDecoder.cpp
|
| index ed2ad164a11aea72d8b171b42c084fb813eeb1aa..4a5e734628c213072981fdbbc850b6a01f13d932 100644
|
| --- a/src/images/SkImageDecoder.cpp
|
| +++ b/src/images/SkImageDecoder.cpp
|
| @@ -133,7 +133,7 @@ bool SkImageDecoder::chooseFromOneChoice(SkColorType colorType, int width, int h
|
|
|
| bool SkImageDecoder::allocPixelRef(SkBitmap* bitmap,
|
| SkColorTable* ctable) const {
|
| - return bitmap->allocPixels(fAllocator, ctable);
|
| + return bitmap->tryAllocPixels(fAllocator, ctable);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|