Index: runtime/vm/heap_profiler.cc |
diff --git a/runtime/vm/heap_profiler.cc b/runtime/vm/heap_profiler.cc |
index 8f987646db06d956ff8b205b459a555cbfe2157a..73249d86ef220f0d7e2da49a4782639d4adc30fe 100644 |
--- a/runtime/vm/heap_profiler.cc |
+++ b/runtime/vm/heap_profiler.cc |
@@ -113,7 +113,7 @@ void HeapProfiler::SubRecord::WritePointer(const void* value) { |
} |
-HeapProfiler::HeapProfiler(Dart_HeapProfileWriteCallback callback, void* stream) |
+HeapProfiler::HeapProfiler(Dart_FileWriteCallback callback, void* stream) |
: write_callback_(callback), |
output_stream_(stream), |
heap_dump_record_(NULL) { |