| Index: gpu/command_buffer/service/cmd_parser.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/cmd_parser.cc (revision 37239)
|
| +++ gpu/command_buffer/service/cmd_parser.cc (working copy)
|
| @@ -46,7 +46,7 @@
|
| return parse_error::kParseInvalidSize;
|
| }
|
|
|
| - if (static_cast<size_t>(header.size + get) > entry_count_) {
|
| + if (static_cast<int>(header.size) + get > entry_count_) {
|
| DLOG(INFO) << "Error: get offset out of bounds";
|
| return parse_error::kParseOutOfBounds;
|
| }
|
|
|