| Index: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp
|
| index 806350a5e2556e6f898caba4346c80f5bf062b8e..edb8bf46bced153c514a85e3e89ff9780f738f25 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp
|
| @@ -363,13 +363,13 @@ bool ImageFrameGenerator::decode(size_t index, ImageDecoder** decoder, SkBitmap*
|
| (*decoder)->clearCacheExceptFrame(index);
|
| (*decoder)->setMemoryAllocator(0);
|
|
|
| - if (!frame || frame->status() == ImageFrame::FrameEmpty)
|
| + if (!frame || frame->getStatus() == ImageFrame::FrameEmpty)
|
| return false;
|
|
|
| // A cache object is considered complete if we can decode a complete frame.
|
| // Or we have received all data. The image might not be fully decoded in
|
| // the latter case.
|
| - const bool isDecodeComplete = frame->status() == ImageFrame::FrameComplete || allDataReceived;
|
| + const bool isDecodeComplete = frame->getStatus() == ImageFrame::FrameComplete || allDataReceived;
|
|
|
| SkBitmap fullSizeBitmap = frame->getSkBitmap();
|
| if (!fullSizeBitmap.isNull()) {
|
|
|