summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/env.h b/src/env.h
index d6dd50b701..e5490c0a5b 100644
--- a/src/env.h
+++ b/src/env.h
@@ -860,7 +860,8 @@ class Environment : public MemoryRetainer {
#if HAVE_INSPECTOR
// If the environment is created for a worker, pass parent_handle and
// the ownership if transferred into the Environment.
- int InitializeInspector(inspector::ParentInspectorHandle* parent_handle);
+ int InitializeInspector(
+ std::unique_ptr<inspector::ParentInspectorHandle> parent_handle);
#endif
v8::MaybeLocal<v8::Value> BootstrapInternalLoaders();