| Index: base/trace_event/heap_profiler_allocation_register.cc
|
| diff --git a/base/trace_event/heap_profiler_allocation_register.cc b/base/trace_event/heap_profiler_allocation_register.cc
|
| index 9a846c5613c2ad4924c943a0cfb27e98d2a414fe..a0fc4be282dff9d4ff16cab045ee1056c6a64339 100644
|
| --- a/base/trace_event/heap_profiler_allocation_register.cc
|
| +++ b/base/trace_event/heap_profiler_allocation_register.cc
|
| @@ -36,6 +36,8 @@ void AllocationRegister::Insert(void* address,
|
| size_t size,
|
| AllocationContext context) {
|
| DCHECK(address != nullptr);
|
| + if (size == 0)
|
| + return;
|
|
|
| CellIndex* idx_ptr = Lookup(address);
|
|
|
|
|