| 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 f5dca1ded28146612b52ebfe8bc9c2b0e7fbcba5..713c351f8cd66290fb73679d89f8dacea603abf7 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
|
| @@ -356,8 +356,8 @@ bool DrawingBuffer::finishPrepareTextureMailboxGpu(
|
| // in the mailbox, and copy backbuffer's contents there.
|
| colorBufferForMailbox = createOrRecycleColorBuffer();
|
| m_gl->CopySubTextureCHROMIUM(
|
| - m_backColorBuffer->textureId, colorBufferForMailbox->textureId, 0, 0, 0,
|
| - 0, m_size.width(), m_size.height(), GL_FALSE, GL_FALSE, GL_FALSE);
|
| + m_backColorBuffer->textureId, 0, colorBufferForMailbox->textureId, 0, 0,
|
| + 0, 0, 0, m_size.width(), m_size.height(), GL_FALSE, GL_FALSE, GL_FALSE);
|
| }
|
|
|
| // Put colorBufferForMailbox into its mailbox, and populate its
|
| @@ -730,8 +730,8 @@ bool DrawingBuffer::copyToPlatformTexture(gpu::gles2::GLES2Interface* gl,
|
| unpackPremultiplyAlphaNeeded = GL_TRUE;
|
|
|
| gl->CopySubTextureCHROMIUM(
|
| - sourceTexture, texture, destTextureOffset.x(), destTextureOffset.y(),
|
| - sourceSubRectangle.x(), sourceSubRectangle.y(),
|
| + sourceTexture, 0, texture, 0, destTextureOffset.x(),
|
| + destTextureOffset.y(), sourceSubRectangle.x(), sourceSubRectangle.y(),
|
| sourceSubRectangle.width(), sourceSubRectangle.height(), flipY,
|
| unpackPremultiplyAlphaNeeded, unpackUnpremultiplyAlphaNeeded);
|
|
|
|
|