Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: runtime/vm/heap_profiler.cc

Issue 11442024: Unify specification of file open, close, and write callbacks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/heap_profiler.h ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « runtime/vm/heap_profiler.h ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698