Index: gin/modules/module_runner_delegate.cc |
diff --git a/gin/modules/module_runner_delegate.cc b/gin/modules/module_runner_delegate.cc |
index 9d8ce2e7133d61ed9944fe72404f410ec5c8d3b7..ce969a097b4c0e8e72dbdf40814e9a679cd8ff4f 100644 |
--- a/gin/modules/module_runner_delegate.cc |
+++ b/gin/modules/module_runner_delegate.cc |
@@ -38,10 +38,10 @@ void ModuleRunnerDelegate::AttemptToLoadMoreModules(Runner* runner) { |
runner, registry->unsatisfied_dependencies()); |
} |
-v8::Handle<v8::ObjectTemplate> ModuleRunnerDelegate::GetGlobalTemplate( |
+v8::Local<v8::ObjectTemplate> ModuleRunnerDelegate::GetGlobalTemplate( |
ShellRunner* runner, |
v8::Isolate* isolate) { |
- v8::Handle<v8::ObjectTemplate> templ = ObjectTemplateBuilder(isolate).Build(); |
+ v8::Local<v8::ObjectTemplate> templ = ObjectTemplateBuilder(isolate).Build(); |
ModuleRegistry::RegisterGlobals(isolate, templ); |
return templ; |
} |
@@ -49,7 +49,7 @@ v8::Handle<v8::ObjectTemplate> ModuleRunnerDelegate::GetGlobalTemplate( |
void ModuleRunnerDelegate::DidCreateContext(ShellRunner* runner) { |
ShellRunnerDelegate::DidCreateContext(runner); |
- v8::Handle<v8::Context> context = runner->GetContextHolder()->context(); |
+ v8::Local<v8::Context> context = runner->GetContextHolder()->context(); |
ModuleRegistry* registry = ModuleRegistry::From(context); |
v8::Isolate* isolate = runner->GetContextHolder()->isolate(); |