From 9fd0c3528aef61aaf8f0fdf548184652f29b71a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Arboleda?= Date: Tue, 14 Apr 2020 17:16:40 -0500 Subject: [PATCH] src: remove redundant v8::HeapSnapshot namespace PR-URL: https://github.com/nodejs/node/pull/32854 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- src/heap_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap_utils.cc b/src/heap_utils.cc index c21ff8c80062a8..efdd68fde9d160 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(snapshot)->Delete(); }