| Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| index 2eecf922dc7d0fc5f6130da469e5ebeaff8096dd..5885e28ed7f00488a46f2bc273883f74f49670e7 100644
|
| --- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| +++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| @@ -722,7 +722,6 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::deleteCompositorTexture(
|
| context_->DeleteParentTexture(parent_texture);
|
| }
|
|
|
| -#ifdef FLIP_FRAMEBUFFER_VERTICALLY
|
| void WebGraphicsContext3DInProcessCommandBufferImpl::FlipVertically(
|
| uint8* framebuffer,
|
| unsigned int width,
|
| @@ -745,7 +744,6 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::FlipVertically(
|
| memcpy(row_a, scanline, row_bytes);
|
| }
|
| }
|
| -#endif
|
|
|
| bool WebGraphicsContext3DInProcessCommandBufferImpl::readBackFramebuffer(
|
| unsigned char* pixels,
|
| @@ -782,11 +780,9 @@ bool WebGraphicsContext3DInProcessCommandBufferImpl::readBackFramebuffer(
|
| gl_->BindFramebuffer(GL_FRAMEBUFFER, bound_fbo_);
|
| }
|
|
|
| -#ifdef FLIP_FRAMEBUFFER_VERTICALLY
|
| if (pixels) {
|
| FlipVertically(pixels, width, height);
|
| }
|
| -#endif
|
|
|
| return true;
|
| }
|
|
|