Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 477cebade2520c5fe578fda3a5e85298e653b6b0..127deabfaae45590c66ab79ebeec6d78387e559f 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8522,11 +8522,11 @@ SnapshotObjectId HeapProfiler::GetHeapStats(OutputStream* stream, |
return heap_profiler->PushHeapObjectsStats(stream, timestamp_us); |
} |
- |
bool HeapProfiler::StartSamplingHeapProfiler(uint64_t sample_interval, |
- int stack_depth) { |
- return reinterpret_cast<i::HeapProfiler*>(this) |
- ->StartSamplingHeapProfiler(sample_interval, stack_depth); |
+ int stack_depth, |
+ SamplingFlags flags) { |
+ return reinterpret_cast<i::HeapProfiler*>(this)->StartSamplingHeapProfiler( |
+ sample_interval, stack_depth, flags); |
} |