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

Unified Diff: mojo/apps/js/bindings/gl/module.cc

Issue 113893005: [gin] Introduce Wrappable::GetObjectTemplate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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
« no previous file with comments | « mojo/apps/js/bindings/gl/context.cc ('k') | mojo/apps/js/bindings/gl/opaque.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/bindings/gl/module.cc
diff --git a/mojo/apps/js/bindings/gl/module.cc b/mojo/apps/js/bindings/gl/module.cc
index abc0706284cb9c6211a7f167eb15e340a50af9f4..adf5ac3342cb1b1ee093d55c60999df85274c979 100644
--- a/mojo/apps/js/bindings/gl/module.cc
+++ b/mojo/apps/js/bindings/gl/module.cc
@@ -39,13 +39,9 @@ v8::Local<v8::ObjectTemplate> GetModuleTemplate(v8::Isolate* isolate) {
templ = gin::ObjectTemplateBuilder(isolate)
.SetMethod("Context", CreateContext)
.Build();
- templ->SetInternalFieldCount(gin::kNumberOfInternalFields);
data->SetObjectTemplate(&kWrapperInfo, templ);
}
- Context::GetObjectTemplate(isolate);
- Opaque::GetObjectTemplate(isolate);
-
return templ;
}
« no previous file with comments | « mojo/apps/js/bindings/gl/context.cc ('k') | mojo/apps/js/bindings/gl/opaque.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698