| Index: gpu/command_buffer/client/fenced_allocator.h
|
| diff --git a/gpu/command_buffer/client/fenced_allocator.h b/gpu/command_buffer/client/fenced_allocator.h
|
| index 45b4dfdbc1219a9f9bfe4386292798e4cfcf1cd1..0e8c64c9f838cd4de50308a488e304f279671fa8 100644
|
| --- a/gpu/command_buffer/client/fenced_allocator.h
|
| +++ b/gpu/command_buffer/client/fenced_allocator.h
|
| @@ -7,6 +7,7 @@
|
| #ifndef GPU_COMMAND_BUFFER_CLIENT_FENCED_ALLOCATOR_H_
|
| #define GPU_COMMAND_BUFFER_CLIENT_FENCED_ALLOCATOR_H_
|
|
|
| +#include <stddef.h>
|
| #include <stdint.h>
|
|
|
| #include <vector>
|
| @@ -68,7 +69,7 @@ class GPU_EXPORT FencedAllocator {
|
| // Parameters:
|
| // offset: the offset of the memory block to free.
|
| // token: the token value to wait for before re-using the memory.
|
| - void FreePendingToken(Offset offset, int32 token);
|
| + void FreePendingToken(Offset offset, int32_t token);
|
|
|
| // Frees any blocks pending a token for which the token has been read.
|
| void FreeUnused();
|
| @@ -204,7 +205,7 @@ class FencedAllocatorWrapper {
|
| // Parameters:
|
| // pointer: the pointer to the memory block to free.
|
| // token: the token value to wait for before re-using the memory.
|
| - void FreePendingToken(void *pointer, int32 token) {
|
| + void FreePendingToken(void* pointer, int32_t token) {
|
| DCHECK(pointer);
|
| allocator_.FreePendingToken(GetOffset(pointer), token);
|
| }
|
|
|