| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index ad136c0df9e2bca06c31e4cfe8c15a7b1dc17ce0..bf726784665b31f9773c4b0815108299332a24bc 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -7789,8 +7789,10 @@ void HeapProfiler::StopTrackingHeapObjects() {
|
| }
|
|
|
|
|
| -SnapshotObjectId HeapProfiler::GetHeapStats(OutputStream* stream) {
|
| - return reinterpret_cast<i::HeapProfiler*>(this)->PushHeapObjectsStats(stream);
|
| +SnapshotObjectId HeapProfiler::GetHeapStats(OutputStream* stream,
|
| + int64_t* timestamp_us) {
|
| + i::HeapProfiler* heap_profiler = reinterpret_cast<i::HeapProfiler*>(this);
|
| + return heap_profiler->PushHeapObjectsStats(stream, timestamp_us);
|
| }
|
|
|
|
|
|
|