summaryrefslogtreecommitdiff
path: root/chromium/gpu/command_buffer/client/mapped_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/client/mapped_memory.h')
-rw-r--r--chromium/gpu/command_buffer/client/mapped_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/gpu/command_buffer/client/mapped_memory.h b/chromium/gpu/command_buffer/client/mapped_memory.h
index db73ca7a609..b8f3129eb4a 100644
--- a/chromium/gpu/command_buffer/client/mapped_memory.h
+++ b/chromium/gpu/command_buffer/client/mapped_memory.h
@@ -33,7 +33,7 @@ class GPU_EXPORT MemoryChunk {
// Gets the size of the chunk.
unsigned int GetSize() const {
- return shm_.size;
+ return static_cast<unsigned int>(shm_.size);
}
// The shared memory id for this chunk.