| Index: Source/bindings/templates/partial_interface.cpp
|
| diff --git a/Source/bindings/templates/partial_interface.cpp b/Source/bindings/templates/partial_interface.cpp
|
| index 2282dd3a01534f8f4980c6ebbec88cdb7ffc2c9d..b4489a76153aa8d87a6d4feffe9d1aa97b3206b2 100644
|
| --- a/Source/bindings/templates/partial_interface.cpp
|
| +++ b/Source/bindings/templates/partial_interface.cpp
|
| @@ -4,14 +4,18 @@
|
| {##############################################################################}
|
| {% block prepare_prototype_object %}
|
| {% from 'interface.cpp' import install_unscopeables with context %}
|
| +{% from 'interface.cpp' import install_conditionally_enabled_attributes_on_prototype with context %}
|
| {% from 'methods.cpp' import install_conditionally_enabled_methods
|
| with context %}
|
| -void {{v8_class_or_partial}}::preparePrototypeObject(v8::Isolate* isolate, v8::Local<v8::Object> prototypeObject)
|
| +void {{v8_class_or_partial}}::preparePrototypeObject(v8::Isolate* isolate, v8::Local<v8::Object> prototypeObject, v8::Local<v8::FunctionTemplate> interfaceTemplate)
|
| {
|
| - {{v8_class}}::preparePrototypeObject(isolate, prototypeObject);
|
| + {{v8_class}}::preparePrototypeObject(isolate, prototypeObject, interfaceTemplate);
|
| {% if unscopeables %}
|
| {{install_unscopeables() | indent}}
|
| {% endif %}
|
| +{% if has_conditional_attributes_on_prototype %}
|
| + {{install_conditionally_enabled_attributes_on_prototype() | indent}}
|
| +{% endif %}
|
| {% if conditionally_enabled_methods %}
|
| {{install_conditionally_enabled_methods() | indent}}
|
| {% endif %}
|
|
|