| Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| index d1efb9d01704d2878401f671a72d7aff1902d7ab..529a9f7760a916bf69573a06fc85fd2b53680712 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| @@ -893,7 +893,7 @@ bool DrawingBuffer::paintRenderingResultsToImageData(int& width, int& height, So
|
| if (dataSize.hasOverflowed())
|
| return false;
|
|
|
| - WTF::ArrayBufferContents pixels(width * height, 4, WTF::ArrayBufferContents::NotShared, WTF::ArrayBufferContents::DontInitialize);
|
| + WTF::ArrayBufferContents pixels(width * height, 4, WTF::ArrayBufferContents::NotShared, WTF::ArrayBufferContents::DontInitialize, WTF::ArrayBufferContents::NullDataIfOutOfMemory);
|
|
|
| GLint fbo = 0;
|
| if (sourceBuffer == FrontBuffer && m_frontColorBuffer.texInfo.textureId) {
|
|
|