Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index e467102db5ba146cc81cae0affe618b650978df8..0d3f74c8f1e0316db0a2876cd82c9d927a7cd0de 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -3660,7 +3660,8 @@ void GLES2Implementation::WaitAsyncTexImage2DCHROMIUM(GLenum target) { |
GLuint GLES2Implementation::InsertSyncPointCHROMIUM() { |
GPU_CLIENT_SINGLE_THREAD_CHECK(); |
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInsertSyncPointCHROMIUM"); |
- return helper_->InsertSyncPointCHROMIUM(); |
+ helper_->CommandBufferHelper::Flush(); |
+ return gpu_control_->InsertSyncPoint(); |
} |
GLuint GLES2Implementation::CreateImageCHROMIUMHelper( |