From 2491f1422adfe41202cfa49194d7628ec2651a74 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Sat, 21 Dec 2013 17:54:37 +0000 Subject: Add a simple one shot and repeating timer API for Mojo.js. Various further rework of bindings stuff to facilitate. Review URL: https://codereview.chromium.org/120043008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242284 0039d316-1c4b-4281-b951-d872f2087c98 --- mojo/apps/js/mojo_runner_delegate.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mojo/apps/js/mojo_runner_delegate.cc') diff --git a/mojo/apps/js/mojo_runner_delegate.cc b/mojo/apps/js/mojo_runner_delegate.cc index 196466f..11f30b9 100644 --- a/mojo/apps/js/mojo_runner_delegate.cc +++ b/mojo/apps/js/mojo_runner_delegate.cc @@ -45,11 +45,11 @@ void StartCallback(base::WeakPtr runner, MojoRunnerDelegate::MojoRunnerDelegate() : ModuleRunnerDelegate(GetModuleSearchPaths()) { - AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetTemplate); - AddBuiltinModule(js::Core::kModuleName, js::Core::GetTemplate); - AddBuiltinModule(js::Support::kModuleName, js::Support::GetTemplate); - AddBuiltinModule(mojo::js::gl::kModuleName, mojo::js::gl::GetModuleTemplate); - AddBuiltinModule(Threading::kModuleName, Threading::GetTemplate); + AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetModule); + AddBuiltinModule(js::Core::kModuleName, js::Core::GetModule); + AddBuiltinModule(js::Support::kModuleName, js::Support::GetModule); + AddBuiltinModule(mojo::js::gl::kModuleName, mojo::js::gl::GetModule); + AddBuiltinModule(Threading::kModuleName, Threading::GetModule); } MojoRunnerDelegate::~MojoRunnerDelegate() { -- cgit v1.1