summaryrefslogtreecommitdiff
path: root/src/env.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.cc')
-rw-r--r--src/env.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/env.cc b/src/env.cc
index 20e817b50d..88106c80f3 100644
--- a/src/env.cc
+++ b/src/env.cc
@@ -451,8 +451,7 @@ void IsolateData::CreateProperties() {
templ->Inherit(BaseObject::GetConstructorTemplate(this));
set_binding_data_ctor_template(templ);
- set_contextify_global_template(
- contextify::ContextifyContext::CreateGlobalTemplate(isolate_));
+ contextify::ContextifyContext::InitializeGlobalTemplates(this);
}
IsolateData::IsolateData(Isolate* isolate,