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 6253cc8926112765af5d5e6094e9ae71d628564a..ea5a87788b6f96ac330d5b71c8ba2bf75823c868 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -9761,11 +9761,11 @@ error::Error GLES2DecoderImpl::HandleWaitSyncPointCHROMIUM( |
const void* cmd_data) { |
const gles2::cmds::WaitSyncPointCHROMIUM& c = |
*static_cast<const gles2::cmds::WaitSyncPointCHROMIUM*>(cmd_data); |
- group_->mailbox_manager()->PullTextureUpdates(); |
+ uint32 sync_point = c.sync_point; |
if (wait_sync_point_callback_.is_null()) |
return error::kNoError; |
- return wait_sync_point_callback_.Run(c.sync_point) ? |
+ return wait_sync_point_callback_.Run(sync_point) ? |
error::kNoError : error::kDeferCommandUntilLater; |
} |