| Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| index 8775100548143d8b2a5ce179439920c30f0c8bd1..8484974a2e7d1dac53d9e042a0825fe208e5d3c1 100644
|
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| @@ -577,7 +577,6 @@ void WebGraphicsContext3DCommandBufferImpl::reshape(int width, int height) {
|
| gl_->ResizeCHROMIUM(width, height);
|
| }
|
|
|
| -#ifdef FLIP_FRAMEBUFFER_VERTICALLY
|
| void WebGraphicsContext3DCommandBufferImpl::FlipVertically(
|
| uint8* framebuffer,
|
| unsigned int width,
|
| @@ -600,7 +599,6 @@ void WebGraphicsContext3DCommandBufferImpl::FlipVertically(
|
| memcpy(row_a, scanline, row_bytes);
|
| }
|
| }
|
| -#endif
|
|
|
| bool WebGraphicsContext3DCommandBufferImpl::readBackFramebuffer(
|
| unsigned char* pixels,
|
| @@ -637,11 +635,9 @@ bool WebGraphicsContext3DCommandBufferImpl::readBackFramebuffer(
|
| gl_->BindFramebuffer(GL_FRAMEBUFFER, bound_fbo_);
|
| }
|
|
|
| -#ifdef FLIP_FRAMEBUFFER_VERTICALLY
|
| if (pixels) {
|
| FlipVertically(pixels, width, height);
|
| }
|
| -#endif
|
|
|
| return true;
|
| }
|
|
|