Index: third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
index abcfeefa5af5f15fc527753e462f9ff4cdf35318..1f1680a6756d3ea2c24296f85639ab009df5d7f0 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
@@ -131,7 +131,11 @@ class {{v8_class}} { |
{% endif %} |
{% if has_partial_interface %} |
- {{exported}}static void updateWrapperTypeInfo(InstallTemplateFunction, InstallRuntimeEnabledFunction, PreparePrototypeAndInterfaceObjectFunction); |
+ {{exported}}static void updateWrapperTypeInfo( |
+ InstallTemplateFunction, |
+ InstallRuntimeEnabledFunction, |
+ InstallRuntimeEnabledOnTemplateFunction, |
+ PreparePrototypeAndInterfaceObjectFunction); |
{{exported}}static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interfaceTemplate); |
{% for method in methods if method.overloads and method.overloads.has_partial_overloads %} |
{{exported}}static void register{{method.name | blink_capitalize}}MethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
@@ -249,15 +253,20 @@ class {{v8_class}} { |
{% endif %} |
{% if needs_runtime_enabled_installer %} |
- {{exported}}static void installRuntimeEnabledFeatures( |
- v8::Isolate* isolate, |
+ {{exported}}static void InstallRuntimeEnabledFeatures( |
+ v8::Isolate*, |
const DOMWrapperWorld& world, |
v8::Local<v8::Object> instance, |
v8::Local<v8::Object> prototype, |
v8::Local<v8::Function> interface); |
+ {{exported}}static void InstallRuntimeEnabledFeaturesOnTemplate( |
+ v8::Isolate*, |
+ const DOMWrapperWorld&, |
+ v8::Local<v8::FunctionTemplate> interface_template); |
{% if has_partial_interface %} |
static InstallRuntimeEnabledFunction install{{v8_class}}RuntimeEnabledFunction; |
+ static InstallRuntimeEnabledOnTemplateFunction install{{v8_class}}RuntimeEnabledOnTemplateFunction; |
{% endif %} |
{% endif %} |