Index: third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
index 634910bded1901de56b61201e87020d81099dca7..7104fef8f177e83543ccdfd8c9595624ce27088b 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
@@ -667,7 +667,7 @@ void {{v8_class}}::constructorCallback(const v8::FunctionCallbackInfo<v8::Value> |
{% if has_custom_constructor %} |
{{v8_class}}::constructorCustom(info); |
{% elif has_html_constructor %} |
- {{v8_class}}::HTMLConstructor(info); |
+ V8HTMLConstructor::htmlConstructor(info, {{v8_class}}::wrapperTypeInfo, HTMLElementType::k{{interface_name}}); |
{% else %} |
{{cpp_class}}V8Internal::constructor(info); |
{% endif %} |