| Index: Source/platform/graphics/LazyDecodingPixelRef.cpp
|
| diff --git a/Source/platform/graphics/LazyDecodingPixelRef.cpp b/Source/platform/graphics/LazyDecodingPixelRef.cpp
|
| index 0ea9a8cb7ba41517db32c1a6017e38e76671a541..272d8e3bdc69c7d8a933052e3bc64a5e468f134f 100644
|
| --- a/Source/platform/graphics/LazyDecodingPixelRef.cpp
|
| +++ b/Source/platform/graphics/LazyDecodingPixelRef.cpp
|
| @@ -50,7 +50,7 @@ SkData* LazyDecodingPixelRef::onRefEncodedData()
|
| {
|
| // If the image has been clipped or scaled, do not return the original encoded data, since
|
| // on playback it will not be known how the clipping/scaling was done.
|
| - RefPtr<SharedBuffer> buffer = 0;
|
| + RefPtr<SharedBuffer> buffer = nullptr;
|
| bool allDataReceived = false;
|
| m_frameGenerator->copyData(&buffer, &allDataReceived);
|
| if (buffer && allDataReceived) {
|
|
|