Skip to content

Commit 955454b

Browse files
ehsankhfrtargos
authored andcommitted
src: fix typo in env.cc
PR-URL: #53418 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 7a7f438 commit 955454b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/env.cc

+2-2
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)