summaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env-inl.h')
-rw-r--r--src/env-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env-inl.h b/src/env-inl.h
index 33c7868e24..1197115318 100644
--- a/src/env-inl.h
+++ b/src/env-inl.h
@@ -286,7 +286,7 @@ inline void Environment::AssignToContext(v8::Local<v8::Context> context,
const ContextInfo& info) {
context->SetAlignedPointerInEmbedderData(
ContextEmbedderIndex::kEnvironment, this);
- // Used by EnvPromiseHook to know that we are on a node context.
+ // Used by Environment::GetCurrent to know that we are on a node context.
context->SetAlignedPointerInEmbedderData(
ContextEmbedderIndex::kContextTag, Environment::kNodeContextTagPtr);
#if HAVE_INSPECTOR