| Index: gpu/command_buffer/client/mapped_memory.cc
|
| diff --git a/gpu/command_buffer/client/mapped_memory.cc b/gpu/command_buffer/client/mapped_memory.cc
|
| index b62ca27e4bf7a103b7527e1bb16cc16a01faf7c1..7166733c51c6239acc49dd3319b4aaa2186168be 100644
|
| --- a/gpu/command_buffer/client/mapped_memory.cc
|
| +++ b/gpu/command_buffer/client/mapped_memory.cc
|
| @@ -91,6 +91,7 @@ void* MappedMemoryManager::Alloc(
|
| cmd_buf->CreateTransferBuffer(chunk_size, &id);
|
| if (id < 0)
|
| return NULL;
|
| + DCHECK(shm);
|
| MemoryChunk* mc = new MemoryChunk(id, shm, helper_, poll_callback_);
|
| allocated_memory_ += mc->GetSize();
|
| chunks_.push_back(mc);
|
|
|