| 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 367f71aff1c69ba9e21308f2a29a96ec7c55f04d..4b2d499ddf2e991a8df00ee539fb5e8e554c1539 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| @@ -45,7 +45,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"
|
| @@ -213,10 +212,6 @@ bool ImageBuffer::copyToPlatformTexture(gpu::gles2::GLES2Interface* gl,
|
| GLint level,
|
| bool premultiplyAlpha,
|
| bool flipY) {
|
| - if (!Extensions3DUtil::canUseCopyTextureCHROMIUM(
|
| - GL_TEXTURE_2D, internalFormat, destType, level))
|
| - return false;
|
| -
|
| if (!isSurfaceValid())
|
| return false;
|
|
|
|
|