From f85ab151629ec9ee1af69d93609250dd82957046 Mon Sep 17 00:00:00 2001 From: ehsankhfr Date: Tue, 11 Jun 2024 19:52:00 +0100 Subject: [PATCH] src: fix typo in env.cc --- src/env.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/env.cc b/src/env.cc index 73981071f6cce5..5a7c5a4ddfcea0 100644 --- a/src/env.cc +++ b/src/env.cc @@ -520,7 +520,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_; @@ -540,7 +540,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: