| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 562985cc8ba1e700c6f4153c951fec2be8f73b57..90e50ccc79f51503f97b9f5d90e75c291f7131f9 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -7497,8 +7497,9 @@ const HeapSnapshot* HeapProfiler::TakeHeapSnapshot(
|
| }
|
|
|
|
|
| -void HeapProfiler::StartTrackingHeapObjects() {
|
| - reinterpret_cast<i::HeapProfiler*>(this)->StartHeapObjectsTracking();
|
| +void HeapProfiler::StartTrackingHeapObjects(bool track_allocations) {
|
| + reinterpret_cast<i::HeapProfiler*>(this)->StartHeapObjectsTracking(
|
| + track_allocations);
|
| }
|
|
|
|
|
| @@ -7537,12 +7538,12 @@ void HeapProfiler::SetRetainedObjectInfo(UniqueId id,
|
|
|
|
|
| void HeapProfiler::StartRecordingHeapAllocations() {
|
| - reinterpret_cast<i::HeapProfiler*>(this)->StartHeapAllocationsRecording();
|
| + reinterpret_cast<i::HeapProfiler*>(this)->StartHeapObjectsTracking(true);
|
| }
|
|
|
|
|
| void HeapProfiler::StopRecordingHeapAllocations() {
|
| - reinterpret_cast<i::HeapProfiler*>(this)->StopHeapAllocationsRecording();
|
| + reinterpret_cast<i::HeapProfiler*>(this)->StopHeapObjectsTracking();
|
| }
|
|
|
|
|
|
|