| 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 e74cfa5de720fe1c96b4c6883f7d0b50aa17eeb7..9a0125733c78d204604918883aa211235281d3a2 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| @@ -674,7 +674,7 @@ bool DrawingBuffer::resizeMultisampleFramebuffer(const IntSize& size)
|
| m_gl->BindRenderbuffer(GL_RENDERBUFFER, m_multisampleColorBuffer);
|
| m_gl->RenderbufferStorageMultisampleCHROMIUM(GL_RENDERBUFFER, m_sampleCount, m_colorBuffer.parameters.internalRenderbufferFormat, size.width(), size.height());
|
|
|
| - if (m_context->getError() == GL_OUT_OF_MEMORY)
|
| + if (m_gl->GetError() == GL_OUT_OF_MEMORY)
|
| return false;
|
|
|
| m_gl->FramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_multisampleColorBuffer);
|
|
|