Index: runtime/vm/heap.h |
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h |
index 819a80a9b7627408ea3ef5d3cb5dd562b8203a74..ae47fea55d303145731f1b16e4ee2c034154e785 100644 |
--- a/runtime/vm/heap.h |
+++ b/runtime/vm/heap.h |
@@ -157,7 +157,7 @@ class Heap { |
ObjectSet* CreateAllocatedObjectSet() const; |
// Generates a profile of the current and VM isolate heaps. |
- void Profile(Dart_HeapProfileWriteCallback callback, void* stream) const; |
+ void Profile(Dart_FileWriteCallback callback, void* stream) const; |
static const char* GCReasonToString(GCReason gc_reason); |