Chromium Code Reviews| Index: Source/bindings/templates/interface.cpp |
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
| index af6af90acc878cdde4eac803702262107eddc29b..112b268d29f81b53e01bcb8240a6c36b2340eda9 100644 |
| --- a/Source/bindings/templates/interface.cpp |
| +++ b/Source/bindings/templates/interface.cpp |
| @@ -207,7 +207,7 @@ static v8::Handle<v8::FunctionTemplate> Configure{{v8_class_name}}Template(v8::H |
| {% for attribute in attributes if attribute.is_static %} |
| {% set getter_callback_name = '%sV8Internal::%sAttributeGetterCallback' % |
| (interface_name, attribute.name) %} |
| - functionTemplate->SetNativeDataProperty(v8::String::NewSymbol("{{attribute.name}}"), {{getter_callback_name}}, {{attribute.setter_callback_name}}, v8::External::New(0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
| + functionTemplate->SetNativeDataProperty(v8::String::NewSymbol("{{attribute.name}}"), {{getter_callback_name}}, {{attribute.setter_callback_name}}, v8::External::New(isolate, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
|
haraken
2013/11/18 10:42:48
nbarth: Probably can you remove this file from the
Nils Barth (inactive)
2013/11/18 10:47:25
? I don't understand.
Jinja templates are in bindi
|
| {% endfor %} |
| {% if constants %} |
| {{install_constants() | indent}} |