| Index: Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| diff --git a/Source/platform/graphics/gpu/DrawingBuffer.cpp b/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| index f82960d498e68070033272f1df00780b93e59668..ef349001ef2377de78cb5a94b580bd712aeb6ef4 100644
|
| --- a/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| +++ b/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| @@ -953,7 +953,7 @@ void DrawingBuffer::paintFramebufferToCanvas(int framebuffer, int width, int hei
|
| // pixel data. We will then use Skia to rescale this bitmap to
|
| // the size of the canvas's backing store.
|
| if (m_resizingBitmap.width() != width || m_resizingBitmap.height() != height) {
|
| - if (!m_resizingBitmap.allocN32Pixels(width, height))
|
| + if (!m_resizingBitmap.tryAllocN32Pixels(width, height))
|
| return;
|
| }
|
| readbackBitmap = &m_resizingBitmap;
|
|
|