Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Unified Diff: gin/modules/module_runner_delegate.cc

Issue 1118643002: Replace v8::Handle with v8::Local in gin/modules/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gin/modules/module_runner_delegate.h ('k') | gin/modules/timer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « gin/modules/module_runner_delegate.h ('k') | gin/modules/timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698