| 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 77ea6b71379a6545292413e9a72c65a58f691432..f1072682f96b48a25bfcc93a308cf3ca5f581145 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| @@ -648,7 +648,7 @@ void {{v8_class}}::visitDOMWrapper(v8::Isolate* isolate, ScriptWrappable* script
|
|
|
| {##############################################################################}
|
| {% block constructor_callback %}
|
| -{% if constructors or has_custom_constructor or has_event_constructor %}
|
| +{% if constructors or has_custom_constructor or has_event_constructor or has_html_constructor %}
|
| void {{v8_class}}::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| {% if measure_as %}
|
| @@ -666,6 +666,8 @@ void {{v8_class}}::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>
|
|
|
| {% if has_custom_constructor %}
|
| {{v8_class}}::constructorCustom(info);
|
| + {% elif has_html_constructor %}
|
| + {{v8_class}}::create(info);
|
| {% else %}
|
| {{cpp_class}}V8Internal::constructor(info);
|
| {% endif %}
|
|
|