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

Unified Diff: gin/modules/module_registry.h

Issue 120043008: Add a simple one shot and repeating timer API for Mojo.js. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 7 years 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
Index: gin/modules/module_registry.h
diff --git a/gin/modules/module_registry.h b/gin/modules/module_registry.h
index 27606cd9a5460d4ac2e4d5c45c5c301840155a77..755875c3539dc9290d456b42bcb51553febe08b8 100644
--- a/gin/modules/module_registry.h
+++ b/gin/modules/module_registry.h
@@ -43,9 +43,8 @@ class GIN_EXPORT ModuleRegistry : public ContextSupplement {
v8::Handle<v8::ObjectTemplate> templ);
// The caller must have already entered our context.
- void AddBuiltinModule(v8::Isolate* isolate,
- const std::string& id,
- v8::Handle<v8::ObjectTemplate> templ);
+ void AddBuiltinModule(v8::Isolate* isolate, const std::string& id,
+ v8::Handle<v8::Value> module);
// The caller must have already entered our context.
void AddPendingModule(v8::Isolate* isolate,
« no previous file with comments | « gin/modules/console.cc ('k') | gin/modules/module_registry.cc » ('j') | gin/modules/timer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698