| Index: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
|
| index 3cb04fe8c4dc6372dd1db8425fadaf6274c24f5b..f6e9171c3753f2424fee058185d8dcbb9aec77a0 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
|
| @@ -82,8 +82,8 @@ void AcceleratedStaticBitmapImage::copyToTexture(
|
| destGL->WaitSyncTokenCHROMIUM(m_textureHolder->syncToken().GetData());
|
| GLuint sourceTextureId = destGL->CreateAndConsumeTextureCHROMIUM(
|
| GL_TEXTURE_2D, m_textureHolder->mailbox().name);
|
| - destGL->CopyTextureCHROMIUM(sourceTextureId, 0, destTextureId, 0,
|
| - internalFormat, destType, flipY, false, false);
|
| + destGL->CopyTextureCHROMIUM(sourceTextureId, 0, GL_TEXTURE_2D, destTextureId,
|
| + 0, internalFormat, destType, flipY, false, false);
|
| // This drops the |destGL| context's reference on our |m_mailbox|, but it's
|
| // still held alive by our SkImage.
|
| destGL->DeleteTextures(1, &sourceTextureId);
|
|
|