summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/mapped_memory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/mapped_memory.cc')
-rw-r--r--gpu/command_buffer/client/mapped_memory.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/mapped_memory.cc b/gpu/command_buffer/client/mapped_memory.cc
index d2c4886..1a63c6f 100644
--- a/gpu/command_buffer/client/mapped_memory.cc
+++ b/gpu/command_buffer/client/mapped_memory.cc
@@ -22,6 +22,10 @@ MemoryChunk::MemoryChunk(
allocator_(shm.size, helper, shm.ptr) {
}
+MappedMemoryManager::MappedMemoryManager(CommandBufferHelper* helper)
+ : helper_(helper) {
+}
+
MappedMemoryManager::~MappedMemoryManager() {
std::for_each(chunks_.begin(),
chunks_.end(),