| Index: gpu/command_buffer/service/cmd_parser.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/cmd_parser.cc (revision 48721)
|
| +++ gpu/command_buffer/service/cmd_parser.cc (working copy)
|
| @@ -58,7 +58,11 @@
|
| if (result != error::kNoError) {
|
| ReportError(header.command, result);
|
| }
|
| - get_ = (get + header.size) % entry_count_;
|
| +
|
| + // If get was not set somewhere else advance it.
|
| + if (get == get_) {
|
| + get_ = (get + header.size) % entry_count_;
|
| + }
|
| return result;
|
| }
|
|
|
|
|