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 53f34f2648dd984097a3c7e1c1baab1f54dd2c32..a1e7f5f304535f6b0888e321c10e08e6dacb61a5 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
@@ -43,7 +43,6 @@ |
#include "platform/graphics/StaticBitmapImage.h" |
#include "platform/graphics/UnacceleratedImageBufferSurface.h" |
#include "platform/graphics/gpu/DrawingBuffer.h" |
-#include "platform/graphics/gpu/Extensions3DUtil.h" |
#include "platform/graphics/skia/SkiaUtils.h" |
#include "platform/image-encoders/JPEGImageEncoder.h" |
#include "platform/image-encoders/PNGImageEncoder.h" |
@@ -201,9 +200,6 @@ WebLayer* ImageBuffer::platformLayer() const |
bool ImageBuffer::copyToPlatformTexture(gpu::gles2::GLES2Interface* gl, GLuint texture, GLenum internalFormat, GLenum destType, GLint level, bool premultiplyAlpha, bool flipY) |
{ |
- if (!Extensions3DUtil::canUseCopyTextureCHROMIUM(GL_TEXTURE_2D, internalFormat, destType, level)) |
- return false; |
- |
if (!isSurfaceValid()) |
return false; |