| Index: third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl
|
| index d15a65c87308e8c4e34715313e5f49523e9470b0..2e76cb1fc12e561fcc8fd31974a0336fd42aa0f3 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl
|
| @@ -642,17 +642,22 @@ static void install{{v8_class}}Template(v8::Isolate* isolate, const DOMWrapperWo
|
| attribute_configuration,
|
| with context %}
|
| {% from 'methods.cpp.tmpl' import install_custom_signature with context %}
|
| -void {{v8_class_or_partial}}::installRuntimeEnabledFeatures(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface) {
|
| +void {{v8_class_or_partial}}::InstallRuntimeEnabledFeatures(
|
| + v8::Isolate* isolate,
|
| + const DOMWrapperWorld& world,
|
| + v8::Local<v8::Object> instance,
|
| + v8::Local<v8::Object> prototype,
|
| + v8::Local<v8::Function> interface) {
|
| {% if runtime_enabled_feature_name %}
|
| #error "We don't expect a runtime enabled interface {{v8_class_or_partial}} to have installRuntimeEnabledFeatures()."
|
| {% endif %}
|
|
|
| {% if is_partial %}
|
| - {{v8_class}}::installRuntimeEnabledFeatures(isolate, world, instance, prototype, interface);
|
| + {{v8_class}}::InstallRuntimeEnabledFeatures(isolate, world, instance, prototype, interface);
|
| {% endif %}
|
|
|
| - v8::Local<v8::FunctionTemplate> interfaceTemplate = {{v8_class}}::wrapperTypeInfo.domTemplate(isolate, world);
|
| - v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate);
|
| + v8::Local<v8::FunctionTemplate> interface_template = {{v8_class}}::wrapperTypeInfo.domTemplate(isolate, world);
|
| + v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interface_template);
|
| ALLOW_UNUSED_LOCAL(signature);
|
|
|
| {# TODO(peria): Generate code to install constants. It depends on runtime_enabled_feaure of this interface. #}
|
|
|