Chromium Code Reviews| Index: Source/bindings/templates/interface_base.cpp |
| diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
| index 5912b1c4657e2bc5b791d084ff58931cb66bc14b..f681e2547f399dcdedccc9b29ad6dbea42184bcb 100644 |
| --- a/Source/bindings/templates/interface_base.cpp |
| +++ b/Source/bindings/templates/interface_base.cpp |
| @@ -97,7 +97,7 @@ template <typename T> void V8_USE(T) { } |
| {% block security_check_functions %}{% endblock %} |
| {# Methods #} |
| {% from 'methods.cpp' import generate_method, overload_resolution_method, |
| - method_callback, origin_safe_method_getter, constructor_callback |
| + method_callback, origin_safe_method_getter, generate_constructor |
| with context %} |
| {% for method in methods %} |
| {% for world_suffix in method.world_suffixes %} |
| @@ -119,9 +119,9 @@ template <typename T> void V8_USE(T) { } |
| {% block origin_safe_method_setter %}{% endblock %} |
| {# Constructors #} |
| {% for constructor in constructors %} |
| -{{constructor_callback(constructor)}} |
| +{{generate_constructor(constructor)}} |
|
haraken
2013/12/16 08:56:18
Looks like we don't use "generate_" in other place
Nils Barth (inactive)
2013/12/16 09:29:45
We only use "generate_" to avoid collision with lo
|
| {% endfor %} |
| -{% block overloaded_constructor_callback %}{% endblock %} |
| +{% block overloaded_constructor %}{% endblock %} |
| {% block event_constructor %}{% endblock %} |
| } // namespace {{cpp_class}}V8Internal |
| @@ -129,6 +129,7 @@ template <typename T> void V8_USE(T) { } |
| {% block class_attributes %}{% endblock %} |
| {% block class_accessors %}{% endblock %} |
| {% block class_methods %}{% endblock %} |
| +{% block named_constructor %}{% endblock %} |
| {% block initialize_event %}{% endblock %} |
| {% block constructor_callback %}{% endblock %} |
| {% block configure_class_template %}{% endblock %} |