| Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| index 6d81dc80039558c85962f842566ab745f8ff9e36..9b472d6e0360b859022d3bf146142b962e8cdea9 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| @@ -224,7 +224,7 @@ bool ImageBuffer::copyToPlatformTexture(WebGraphicsContext3D* context, gpu::gles
|
| // The canvas is stored in an inverted position, so the flip semantics are reversed.
|
| gl->CopyTextureCHROMIUM(sourceTexture, texture, internalFormat, destType, flipY ? GL_FALSE : GL_TRUE, GL_FALSE, premultiplyAlpha ? GL_FALSE : GL_TRUE);
|
|
|
| - context->deleteTexture(sourceTexture);
|
| + gl->DeleteTextures(1, &sourceTexture);
|
|
|
| const GLuint64 contextFenceSync = gl->InsertFenceSyncCHROMIUM();
|
|
|
|
|