Index: src/heap-profiler.cc |
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc |
index 6ae62723a7081eed316344cbe64042660296ef45..1e4095029f1540353fe71f639124cbbacbe950bd 100644 |
--- a/src/heap-profiler.cc |
+++ b/src/heap-profiler.cc |
@@ -118,7 +118,7 @@ void HeapProfiler::StartHeapObjectsTracking(bool track_allocations) { |
is_tracking_object_moves_ = true; |
ASSERT(!is_tracking_allocations()); |
if (track_allocations) { |
- allocation_tracker_.Reset(new AllocationTracker(*ids_, *names_)); |
+ allocation_tracker_.Reset(new AllocationTracker(ids_.get(), names_.get())); |
heap()->DisableInlineAllocation(); |
} |
} |