Index: runtime/vm/heap.cc |
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc |
index 003e5aeb720c625852d9273122c4c2b5dee75caa..d2f16159afb2e63da022d3d5fafdd49fb40ba368 100644 |
--- a/runtime/vm/heap.cc |
+++ b/runtime/vm/heap.cc |
@@ -267,7 +267,7 @@ void Heap::PrintSizes() const { |
} |
-void Heap::Profile(Dart_HeapProfileWriteCallback callback, void* stream) const { |
+void Heap::Profile(Dart_FileWriteCallback callback, void* stream) const { |
HeapProfiler profiler(callback, stream); |
// Dump the root set. |