Index: gpu/command_buffer/common/gles2_cmd_format.h |
diff --git a/gpu/command_buffer/common/gles2_cmd_format.h b/gpu/command_buffer/common/gles2_cmd_format.h |
index dd42a95cd5e56006567b1dd41f382a76ef89fb18..8b12baf440acca21748baef4c3036141fd672a90 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format.h |
@@ -10,6 +10,7 @@ |
#include <KHR/khrplatform.h> |
+#include <stddef.h> |
#include <stdint.h> |
#include <string.h> |
@@ -317,7 +318,7 @@ struct GenMailboxCHROMIUM { |
typedef GenMailboxCHROMIUM ValueType; |
static const CommandId kCmdId = kGenMailboxCHROMIUM; |
static const cmd::ArgFlags kArgFlags = cmd::kFixed; |
- static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3); |
+ static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3); |
CommandHeader header; |
}; |
@@ -325,7 +326,7 @@ struct InsertSyncPointCHROMIUM { |
typedef InsertSyncPointCHROMIUM ValueType; |
static const CommandId kCmdId = kInsertSyncPointCHROMIUM; |
static const cmd::ArgFlags kArgFlags = cmd::kFixed; |
- static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3); |
+ static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3); |
CommandHeader header; |
}; |
@@ -333,7 +334,7 @@ struct CreateAndConsumeTextureCHROMIUMImmediate { |
typedef CreateAndConsumeTextureCHROMIUMImmediate ValueType; |
static const CommandId kCmdId = kCreateAndConsumeTextureCHROMIUMImmediate; |
static const cmd::ArgFlags kArgFlags = cmd::kAtLeastN; |
- static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(1); |
+ static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(1); |
static uint32_t ComputeDataSize() { |
return static_cast<uint32_t>(sizeof(GLbyte) * 64); // NOLINT |