| 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 ('%sV8Internal::%sConstructorGetterCallback' % | 10 ('%sV8Internal::%sConstructorGetterCallback' % |
| (...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1303 'WrapperConfiguration::Independent' %} | 1303 'WrapperConfiguration::Independent' %} |
| 1304 V8DOMWrapper::associateObjectWithWrapper<{{v8_class}}>(impl, &wrapperTypeInf
o, wrapper, isolate, {{wrapper_configuration}}); | 1304 V8DOMWrapper::associateObjectWithWrapper<{{v8_class}}>(impl, &wrapperTypeInf
o, wrapper, isolate, {{wrapper_configuration}}); |
| 1305 return wrapper; | 1305 return wrapper; |
| 1306 } | 1306 } |
| 1307 | 1307 |
| 1308 {% endif %} | 1308 {% endif %} |
| 1309 {% endblock %} | 1309 {% endblock %} |
| 1310 | 1310 |
| 1311 | 1311 |
| 1312 {##############################################################################} | 1312 {##############################################################################} |
| 1313 {% block deref_object_and_to_v8_no_inline %} | 1313 {% block deref_object %} |
| 1314 void {{v8_class}}::derefObject(void* object) | 1314 void {{v8_class}}::derefObject(void* object) |
| 1315 { | 1315 { |
| 1316 {% set oilpan_conditional = '!ENABLE(OILPAN)' if is_will_be_garbage_collected | 1316 {% set oilpan_conditional = '!ENABLE(OILPAN)' if is_will_be_garbage_collected |
| 1317 else '' %} | 1317 else '' %} |
| 1318 {% filter conditional(oilpan_conditional) %} | 1318 {% filter conditional(oilpan_conditional) %} |
| 1319 fromInternalPointer(object)->deref(); | 1319 fromInternalPointer(object)->deref(); |
| 1320 {% endfilter %} | 1320 {% endfilter %} |
| 1321 } | 1321 } |
| 1322 | 1322 |
| 1323 {% endblock %} |
| 1324 |
| 1325 |
| 1326 {##############################################################################} |
| 1327 {% block to_v8_no_inline %} |
| 1328 {% if has_class_bindings %} |
| 1323 template<> | 1329 template<> |
| 1324 v8::Handle<v8::Value> toV8NoInline({{cpp_class}}* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) | 1330 v8::Handle<v8::Value> toV8NoInline({{cpp_class}}* impl, v8::Handle<v8::Object> c
reationContext, v8::Isolate* isolate) |
| 1325 { | 1331 { |
| 1326 return toV8(impl, creationContext, isolate); | 1332 return toV8(impl, creationContext, isolate); |
| 1327 } | 1333 } |
| 1328 | 1334 |
| 1335 {% endif %} |
| 1329 {% endblock %} | 1336 {% endblock %} |
| OLD | NEW |