Index: third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
index 88fc9a8f82fd94b3d511fed7ea14d837dc4a273f..ce9ec3a45ea02582b0a6a2ab3960ea56cb85e6a4 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
@@ -90,11 +90,13 @@ public: |
static void {{method.name}}MethodEpilogueCustom(const v8::FunctionCallbackInfo<v8::Value>&, {{cpp_class}}*); |
{% endif %} |
{% endfor %} |
- {% if constructors or has_custom_constructor or has_event_constructor %} |
+ {% if constructors or has_custom_constructor or has_event_constructor or has_html_constructor %} |
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
{% endif %} |
{% if has_custom_constructor %} |
static void constructorCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
+ {% elif has_html_constructor %} |
+ static void HTMLConstructor(const v8::FunctionCallbackInfo<v8::Value>&); |
{% endif %} |
{% for attribute in attributes %} |
{% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_by #} |