| Index: Source/bindings/templates/interface_base.cpp
|
| diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp
|
| index ea5c732e40872d01d3d2a217d839c10bde592e0b..77396ed2ecc4a4fb13dae4646ff75b3c8cb8a933 100644
|
| --- a/Source/bindings/templates/interface_base.cpp
|
| +++ b/Source/bindings/templates/interface_base.cpp
|
| @@ -20,7 +20,7 @@ namespace blink {
|
|
|
| {% set wrapper_type_info_const = '' if has_partial_interface else 'const ' %}
|
| {% if not is_partial %}
|
| -{{wrapper_type_info_const}}WrapperTypeInfo {{v8_class}}::wrapperTypeInfo = { gin::kEmbedderBlink, {{dom_template}}, {{v8_class}}::refObject, {{v8_class}}::derefObject, {{v8_class}}::trace, {{to_active_dom_object}}, {{visit_dom_wrapper}}, {{v8_class}}::installConditionallyEnabledMethods, {{v8_class}}::installConditionallyEnabledProperties, "{{interface_name}}", {{parent_wrapper_type_info}}, WrapperTypeInfo::{{wrapper_type_prototype}}, WrapperTypeInfo::{{wrapper_class_id}}, WrapperTypeInfo::{{event_target_inheritance}}, WrapperTypeInfo::{{lifetime}}, WrapperTypeInfo::{{gc_type}} };
|
| +{{wrapper_type_info_const}}WrapperTypeInfo {{v8_class}}::wrapperTypeInfo = { gin::kEmbedderBlink, {{dom_template}}, {{v8_class}}::refObject, {{v8_class}}::derefObject, {{v8_class}}::trace, {{to_active_dom_object}}, {{visit_dom_wrapper}}, {{v8_class}}::preparePrototypeObject, {{v8_class}}::installConditionallyEnabledProperties, "{{interface_name}}", {{parent_wrapper_type_info}}, WrapperTypeInfo::{{wrapper_type_prototype}}, WrapperTypeInfo::{{wrapper_class_id}}, WrapperTypeInfo::{{event_target_inheritance}}, WrapperTypeInfo::{{lifetime}}, WrapperTypeInfo::{{gc_type}} };
|
|
|
| // This static member must be declared by DEFINE_WRAPPERTYPEINFO in {{cpp_class}}.h.
|
| // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
|
| @@ -484,14 +484,7 @@ static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate> function
|
| {% block to_impl_with_type_check %}{% endblock %}
|
| {% block install_conditional_attributes %}{% endblock %}
|
| {##############################################################################}
|
| -{% block install_conditional_methods %}
|
| -{% from 'methods.cpp' import install_conditionally_enabled_methods
|
| - with context %}
|
| -{% if is_partial or conditionally_enabled_methods %}
|
| -{{install_conditionally_enabled_methods()}}
|
| -
|
| -{% endif %}
|
| -{% endblock %}
|
| +{% block prepare_prototype_object %}{% endblock %}
|
| {##############################################################################}
|
| {% block to_active_dom_object %}{% endblock %}
|
| {% block get_shadow_object_template %}{% endblock %}
|
|
|