Index: gpu/command_buffer/client/mapped_memory.h |
diff --git a/gpu/command_buffer/client/mapped_memory.h b/gpu/command_buffer/client/mapped_memory.h |
index 72a96764c5dcc97e7bb6e6b9ffe77cf723feefde..c9915c554dac8c2d814a20510c422fd116ce8a0d 100644 |
--- a/gpu/command_buffer/client/mapped_memory.h |
+++ b/gpu/command_buffer/client/mapped_memory.h |
@@ -29,6 +29,8 @@ class GPU_EXPORT MemoryChunk { |
CommandBufferHelper* helper); |
~MemoryChunk(); |
+ Buffer* buffer() { return shm_.get(); } |
+ |
// Gets the size of the largest free block that is available without waiting. |
unsigned int GetLargestFreeSizeWithoutWaiting() { |
return allocator_.GetLargestFreeSize(); |