| 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 64a4543d75ab20d2bf2aee9ea3c5fa7ba8d82570..0d45edd0dee92a174b78ba57c5ba1970cc2de7e7 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
|
| @@ -203,8 +203,6 @@ bool ImageBuffer::copyToPlatformTexture(WebGraphicsContext3D* context, Platform3
|
| if (!provider)
|
| return false;
|
| WebGraphicsContext3D* sharedContext = provider->context3d();
|
| - if (!sharedContext)
|
| - return false;
|
|
|
| OwnPtr<WebExternalTextureMailbox> mailbox = adoptPtr(new WebExternalTextureMailbox);
|
| mailbox->textureSize = WebSize(textureImage->width(), textureImage->height());
|
| @@ -249,8 +247,6 @@ bool ImageBuffer::copyRenderingResultsFromDrawingBuffer(DrawingBuffer* drawingBu
|
| if (!provider)
|
| return false;
|
| WebGraphicsContext3D* context3D = provider->context3d();
|
| - if (!context3D)
|
| - return false;
|
| Platform3DObject textureId = m_surface->getBackingTextureHandleForOverwrite();
|
| if (!textureId)
|
| return false;
|
|
|