Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 3424bc2a5310224463bbed535e1e84eed8e336d0..0f12cd4c93d2c81f807d469a9a670f165c6b5f50 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -6327,7 +6327,7 @@ bool GLES2Implementation::PackStringsToBucket(GLsizei count, |
const char* func_name) { |
DCHECK_LE(0, count); |
// Compute the total size. |
- base::CheckedNumeric<size_t> total_size = count; |
+ base::CheckedNumeric<uint32_t> total_size = count; |
total_size += 1; |
total_size *= sizeof(GLint); |
if (!total_size.IsValid()) { |