| Index: gpu/command_buffer/common/id_allocator.cc
|
| diff --git a/gpu/command_buffer/common/id_allocator.cc b/gpu/command_buffer/common/id_allocator.cc
|
| index 80e109aa744f122811ffa9f15a1ad438b1726c6d..13a4abaac505dcb8dbb0ba75a0c2dd02100b73fc 100644
|
| --- a/gpu/command_buffer/common/id_allocator.cc
|
| +++ b/gpu/command_buffer/common/id_allocator.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include "gpu/command_buffer/common/id_allocator.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <limits>
|
| #include "base/logging.h"
|
|
|
| @@ -142,7 +144,7 @@ void IdAllocator::FreeID(ResourceId id) {
|
| FreeIDRange(id, 1u);
|
| }
|
|
|
| -void IdAllocator::FreeIDRange(ResourceId first_id, uint32 range) {
|
| +void IdAllocator::FreeIDRange(ResourceId first_id, uint32_t range) {
|
| static_assert(kInvalidResource == 0u, "kInvalidResource must be 0");
|
|
|
| if (range == 0u || (first_id == 0u && range == 1u)) {
|
|
|