Skip to content

Commit 959a873

Browse files
committed
src: fix typo in env.cc
nodejs/node#53418
1 parent 3c72d12 commit 959a873

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎patches/node/src_remove_dependency_on_wrapper-descriptor-based_cppheap.patch‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ index 7bd5edf61c339daa1e1b0df8e2e91680948641de..b75f3d11054a656ac0acadea27cd183d
8383
+// should simply use v8::Object::Wrap() and v8::Object::Unwrap(). We preserve
8484
+// this layout only to distinguish internally how the memory of a Node.js
8585
+// wrapper is managed or whether a wrapper is managed by Node.js.
86-
constexpr uint16_t kDefaultCppGCEmebdderID = 0x90de;
86+
constexpr uint16_t kDefaultCppGCEmbedderID = 0x90de;
8787
Mutex IsolateData::isolate_data_mutex_;
8888
std::unordered_map<uint16_t, std::unique_ptr<PerIsolateWrapperData>>
8989
@@ -539,36 +547,16 @@ IsolateData::IsolateData(Isolate* isolate,
9090
v8::CppHeap* cpp_heap = isolate->GetCppHeap();
9191

92-
uint16_t cppgc_id = kDefaultCppGCEmebdderID;
92+
uint16_t cppgc_id = kDefaultCppGCEmbedderID;
9393
- if (cpp_heap != nullptr) {
9494
- // The general convention of the wrappable layout for cppgc in the
9595
- // ecosystem is:

0 commit comments

Comments
 (0)