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 dec7c34f7940842a4e934029103da577c623072a..5f29545794870976efe33aabdbe5bd5ca2ec815a 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -2629,7 +2629,7 @@ void GLES2DecoderImpl::DoCopyTextureToParentTextureCHROMIUM( |
} |
void GLES2DecoderImpl::DoResizeCHROMIUM(GLuint width, GLuint height) { |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Make sure that we are done drawing to the back buffer before resizing. |
glFinish(); |
#endif |