| Index: Source/platform/graphics/DecodingImageGenerator.cpp
|
| diff --git a/Source/platform/graphics/DecodingImageGenerator.cpp b/Source/platform/graphics/DecodingImageGenerator.cpp
|
| index 55ff319432f8d53793d1b5dc8de31287400f3c24..8acd6e55f9e9e838bbeb729a9a8065d130a18a22 100644
|
| --- a/Source/platform/graphics/DecodingImageGenerator.cpp
|
| +++ b/Source/platform/graphics/DecodingImageGenerator.cpp
|
| @@ -52,7 +52,7 @@ SkData* DecodingImageGenerator::refEncodedData()
|
| // FIXME: 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) {
|
|
|