| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index 1ed050aca40c267d066f23d6d4917e58c94e1590..4201e4c75ec1df3e2304862c5fb5b66882f9bf73 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -230,6 +230,9 @@ static v8::Handle<v8::FunctionTemplate> Configure{{v8_class_name}}Template(v8::H
|
| {% if constants %}
|
| {{install_constants() | indent}}
|
| {% endif %}
|
| + {% if has_custom_legacy_call %}
|
| + functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler({{v8_class_name}}::legacyCallCustom);
|
| + {% endif %}
|
|
|
| // Custom toString template
|
| functionTemplate->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->toStringTemplate());
|
|
|