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 1bc8aad5bbfe5a929bfec74db8d7c9283fa8c131..0b8d68d80f362255cdd347cf5335a116dd0ed0b9 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -9746,11 +9746,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; |
} |