| Index: Source/bindings/templates/interface_base.cpp
|
| diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp
|
| index 124b12d2c712b058138da1aa721b02e7db513c36..487863dac21a0028aaccfabcab6003dd10d3cd10 100644
|
| --- a/Source/bindings/templates/interface_base.cpp
|
| +++ b/Source/bindings/templates/interface_base.cpp
|
| @@ -72,8 +72,9 @@ namespace WebCore {
|
| if parent_interface else '0' %}
|
| {% set wrapper_type_prototype = 'WrapperTypeExceptionPrototype' if is_exception else
|
| 'WrapperTypeObjectPrototype' %}
|
| -{% set garbage_collected = 'true' if is_garbage_collected else 'false' %}
|
| -const WrapperTypeInfo {{v8_class}}::wrapperTypeInfo = { gin::kEmbedderBlink, {{v8_class}}::domTemplate, {{v8_class}}::derefObject, {{to_active_dom_object}}, {{to_event_target}}, {{visit_dom_wrapper}}, {{v8_class}}::installPerContextEnabledMethods, {{parent_wrapper_type_info}}, {{wrapper_type_prototype}}, {{garbage_collected}} };
|
| +{% set will_be_garbage_collected = 'true'
|
| + if is_will_be_garbage_collected else 'false' %}
|
| +const WrapperTypeInfo {{v8_class}}::wrapperTypeInfo = { gin::kEmbedderBlink, {{v8_class}}::domTemplate, {{v8_class}}::derefObject, {{to_active_dom_object}}, {{to_event_target}}, {{visit_dom_wrapper}}, {{v8_class}}::installPerContextEnabledMethods, {{parent_wrapper_type_info}}, {{wrapper_type_prototype}}, {{will_be_garbage_collected}} };
|
|
|
| namespace {{cpp_class}}V8Internal {
|
|
|
|
|