| Index: src/i18n.cc
|
| diff --git a/src/i18n.cc b/src/i18n.cc
|
| index f340cc0bcf1e9524584b221186c9604a7fe6ea6d..5c97c6b8eef358293e5b2d25975e4295280b7c26 100644
|
| --- a/src/i18n.cc
|
| +++ b/src/i18n.cc
|
| @@ -257,7 +257,8 @@ Handle<ObjectTemplateInfo> GetEternal(Isolate* isolate) {
|
| return Handle<ObjectTemplateInfo>::cast(
|
| isolate->eternal_handles()->GetSingleton(field));
|
| }
|
| - v8::Local<v8::ObjectTemplate> raw_template(v8::ObjectTemplate::New());
|
| + v8::Local<v8::ObjectTemplate> raw_template =
|
| + v8::ObjectTemplate::New(reinterpret_cast<v8::Isolate*>(isolate));
|
| raw_template->SetInternalFieldCount(internal_fields);
|
| return Handle<ObjectTemplateInfo>::cast(
|
| isolate->eternal_handles()->CreateSingleton(
|
|
|