Index: runtime/vm/heap_profiler.cc |
diff --git a/runtime/vm/heap_profiler.cc b/runtime/vm/heap_profiler.cc |
index f218a816f0ea3a9f541528eee8c39fc1715436ce..a903c16b3417c74c7a1b1f3bd232c7a5545dd8b8 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) { |