| Index: src/serialize.h
|
| diff --git a/src/serialize.h b/src/serialize.h
|
| index 47627ac2dd566380f2a8c817d72bb7ee4e86ae71..90f78bfd268af52bee3aa097071a087dffec8d5a 100644
|
| --- a/src/serialize.h
|
| +++ b/src/serialize.h
|
| @@ -364,7 +364,7 @@ class Deserializer: public SerializerDeserializer {
|
| high_water_[space_index] = address + size;
|
| HeapProfiler* profiler = isolate_->heap_profiler();
|
| if (profiler->is_tracking_allocations()) {
|
| - profiler->NewObjectEvent(address, size);
|
| + profiler->AllocationEvent(address, size);
|
| }
|
| return address;
|
| }
|
|
|