Index: runtime/vm/heap_profiler.h |
diff --git a/runtime/vm/heap_profiler.h b/runtime/vm/heap_profiler.h |
index ec4570c1be695ffd316b08049780e225537d44e8..7295fde7dc12c6bfd2bddb4a8e8e3e43e497355d 100644 |
--- a/runtime/vm/heap_profiler.h |
+++ b/runtime/vm/heap_profiler.h |
@@ -74,7 +74,7 @@ class HeapProfiler { |
kLong = 11 |
}; |
- HeapProfiler(Dart_HeapProfileWriteCallback callback, void* stream); |
+ HeapProfiler(Dart_FileWriteCallback callback, void* stream); |
~HeapProfiler(); |
// Writes a root to the heap dump. |
@@ -249,7 +249,7 @@ class HeapProfiler { |
static const RawClass* GetClass(const RawObject* raw_obj); |
static const RawClass* GetSuperClass(const RawClass* raw_class); |
- Dart_HeapProfileWriteCallback write_callback_; |
+ Dart_FileWriteCallback write_callback_; |
void* output_stream_; |