| 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 43952c5dd8961da343bc8312b916dd6406ee0a1c..9567106a2c96449ba63e94eb488f33a990ff2816 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| @@ -672,7 +672,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);
|
|
|