Skip to content

Commit 2e1f772

Browse files
authored
src: fix typo in env.cc
PR-URL: #53418 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent bcbb2f7 commit 2e1f772

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/env.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ void IsolateData::CreateProperties() {
520520
CreateEnvProxyTemplate(this);
521521
}
522522

523-
constexpr uint16_t kDefaultCppGCEmebdderID = 0x90de;
523+
constexpr uint16_t kDefaultCppGCEmbedderID = 0x90de;
524524
Mutex IsolateData::isolate_data_mutex_;
525525
std::unordered_map<uint16_t, std::unique_ptr<PerIsolateWrapperData>>
526526
IsolateData::wrapper_data_map_;
@@ -540,7 +540,7 @@ IsolateData::IsolateData(Isolate* isolate,
540540
new PerIsolateOptions(*(per_process::cli_options->per_isolate)));
541541
v8::CppHeap* cpp_heap = isolate->GetCppHeap();
542542

543-
uint16_t cppgc_id = kDefaultCppGCEmebdderID;
543+
uint16_t cppgc_id = kDefaultCppGCEmbedderID;
544544
if (cpp_heap != nullptr) {
545545
// The general convention of the wrappable layout for cppgc in the
546546
// ecosystem is:

0 commit comments

Comments
 (0)