diff options
Diffstat (limited to 'gin/function_template.cc')
-rw-r--r-- | gin/function_template.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gin/function_template.cc b/gin/function_template.cc index e8878e0..07882e8 100644 --- a/gin/function_template.cc +++ b/gin/function_template.cc @@ -20,7 +20,8 @@ void InitFunctionTemplates(PerIsolateData* isolate_data) { return; } - v8::Handle<v8::ObjectTemplate> templ(v8::ObjectTemplate::New()); + v8::Handle<v8::ObjectTemplate> templ( + v8::ObjectTemplate::New(isolate_data->isolate())); templ->SetInternalFieldCount(kNumberOfInternalFields); isolate_data->SetObjectTemplate(&internal::CallbackHolderBase::kWrapperInfo, templ); |