| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
|
| index df016f94a26d562f64c1f7df7aa45227a7d2cd2a..61683bd4a7b47303f92a62ab7daaf7601dfe3654 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc
|
| @@ -22,13 +22,13 @@ GLES2DecoderPassthroughImpl::~GLES2DecoderPassthroughImpl() {}
|
|
|
| GLES2Decoder::Error GLES2DecoderPassthroughImpl::DoCommands(
|
| unsigned int num_commands,
|
| - const void* buffer,
|
| + const volatile void* buffer,
|
| int num_entries,
|
| int* entries_processed) {
|
| commands_to_process_ = num_commands;
|
| error::Error result = error::kNoError;
|
| - const CommandBufferEntry* cmd_data =
|
| - static_cast<const CommandBufferEntry*>(buffer);
|
| + const volatile CommandBufferEntry* cmd_data =
|
| + static_cast<const volatile CommandBufferEntry*>(buffer);
|
| int process_pos = 0;
|
| unsigned int command = 0;
|
|
|
|
|