| Index: runtime/vm/heap_profiler.h
|
| diff --git a/runtime/vm/heap_profiler.h b/runtime/vm/heap_profiler.h
|
| index 7295fde7dc12c6bfd2bddb4a8e8e3e43e497355d..273dd46e3525af638395b911c3d77f3b73e225fb 100644
|
| --- a/runtime/vm/heap_profiler.h
|
| +++ b/runtime/vm/heap_profiler.h
|
| @@ -74,6 +74,8 @@ class HeapProfiler {
|
| kLong = 11
|
| };
|
|
|
| + static const int kObjectIdSize = sizeof(uint64_t); // NOLINT
|
| +
|
| HeapProfiler(Dart_FileWriteCallback callback, void* stream);
|
| ~HeapProfiler();
|
|
|
| @@ -161,7 +163,7 @@ class HeapProfiler {
|
| void Write64(uint64_t value);
|
|
|
| // Appends an ID to the body.
|
| - void WritePointer(const void* value);
|
| + void WriteObjectId(const void* value);
|
|
|
| private:
|
| // A tag value that describes the record format.
|
| @@ -195,7 +197,7 @@ class HeapProfiler {
|
| void Write64(uint64_t value);
|
|
|
| // Appends an ID to the current heap dump record.
|
| - void WritePointer(const void* value);
|
| + void WriteObjectId(const void* value);
|
|
|
| private:
|
| // The record instance that receives forwarded write calls.
|
|
|