| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index af3ff32e5c39b86274d7f7a4bd36108d08236912..e8deed62af8147d77d422dba4f9e4c32214fb42d 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -2787,7 +2787,8 @@ error::Error GLES2DecoderImpl::HandleResizeCHROMIUM(
|
| GLuint width = static_cast<GLuint>(c.width);
|
| GLuint height = static_cast<GLuint>(c.height);
|
| TRACE_EVENT2("gpu", "glResizeChromium", "width", width, "height", height);
|
| -#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(TOUCH_UI)
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX) && \
|
| + !defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
|
| // Make sure that we are done drawing to the back buffer before resizing.
|
| glFinish();
|
| #endif
|
|
|