From 4f49384be51f1448a4d1f7bf29cb51517a8488b5 Mon Sep 17 00:00:00 2001 From: EhsanKhaki Date: Fri, 14 Jun 2024 02:27:11 +0100 Subject: [PATCH] src: fix typo in env.cc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/53418 Reviewed-By: Luigi Pinca Reviewed-By: Kohei Ueno Reviewed-By: Tobias Nießen Reviewed-By: Moshe Atlow --- src/env.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/env.cc b/src/env.cc index d63cb46184de43..f48a05a95d4bd4 100644 --- a/src/env.cc +++ b/src/env.cc @@ -518,7 +518,7 @@ void IsolateData::CreateProperties() { CreateEnvProxyTemplate(this); } -constexpr uint16_t kDefaultCppGCEmebdderID = 0x90de; +constexpr uint16_t kDefaultCppGCEmbedderID = 0x90de; Mutex IsolateData::isolate_data_mutex_; std::unordered_map> IsolateData::wrapper_data_map_; @@ -538,7 +538,7 @@ IsolateData::IsolateData(Isolate* isolate, new PerIsolateOptions(*(per_process::cli_options->per_isolate))); v8::CppHeap* cpp_heap = isolate->GetCppHeap(); - uint16_t cppgc_id = kDefaultCppGCEmebdderID; + uint16_t cppgc_id = kDefaultCppGCEmbedderID; if (cpp_heap != nullptr) { // The general convention of the wrappable layout for cppgc in the // ecosystem is: