diff options
-rw-r--r-- | src/heap_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heap_utils.cc b/src/heap_utils.cc index c21ff8c800..efdd68fde9 100644 --- a/src/heap_utils.cc +++ b/src/heap_utils.cc @@ -328,7 +328,7 @@ inline bool WriteSnapshot(Isolate* isolate, const char* filename) { } // namespace -void DeleteHeapSnapshot(const v8::HeapSnapshot* snapshot) { +void DeleteHeapSnapshot(const HeapSnapshot* snapshot) { const_cast<HeapSnapshot*>(snapshot)->Delete(); } |