| OLD | NEW |
| 1 {% extends 'interface_base.cpp' %} | 1 {% extends 'interface_base.cpp' %} |
| 2 | 2 |
| 3 | 3 |
| 4 {##############################################################################} | 4 {##############################################################################} |
| 5 {% macro attribute_configuration(attribute) %} | 5 {% macro attribute_configuration(attribute) %} |
| 6 {% set getter_callback = | 6 {% set getter_callback = |
| 7 '%sV8Internal::%sAttributeGetterCallback' % | 7 '%sV8Internal::%sAttributeGetterCallback' % |
| 8 (cpp_class, attribute.name) | 8 (cpp_class, attribute.name) |
| 9 if not attribute.constructor_type else | 9 if not attribute.constructor_type else |
| 10 '{0}V8Internal::{0}ConstructorGetter'.format(cpp_class) %} | 10 '{0}V8Internal::{0}ConstructorGetter'.format(cpp_class) %} |
| (...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 } | 1285 } |
| 1286 | 1286 |
| 1287 {% endif %} | 1287 {% endif %} |
| 1288 {% endblock %} | 1288 {% endblock %} |
| 1289 | 1289 |
| 1290 | 1290 |
| 1291 {##############################################################################} | 1291 {##############################################################################} |
| 1292 {% block deref_object_and_to_v8_no_inline %} | 1292 {% block deref_object_and_to_v8_no_inline %} |
| 1293 void {{v8_class}}::derefObject(void* object) | 1293 void {{v8_class}}::derefObject(void* object) |
| 1294 { | 1294 { |
| 1295 {% set oilpan_conditional = '!ENABLE(OILPAN)' if is_will_be_garbage_collected |
| 1296 else '' %} |
| 1297 {% filter conditional(oilpan_conditional) %} |
| 1295 fromInternalPointer(object)->deref(); | 1298 fromInternalPointer(object)->deref(); |
| 1299 {% endfilter %} |
| 1296 } | 1300 } |
| 1297 | 1301 |
| 1298 template<> | 1302 template<> |
| 1299 v8::Handle<v8::Value> toV8NoInline({{cpp_class}}* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) | 1303 v8::Handle<v8::Value> toV8NoInline({{cpp_class}}* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) |
| 1300 { | 1304 { |
| 1301 return toV8(impl, creationContext, isolate); | 1305 return toV8(impl, creationContext, isolate); |
| 1302 } | 1306 } |
| 1303 | 1307 |
| 1304 {% endblock %} | 1308 {% endblock %} |
| OLD | NEW |