| 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 88bf120156c3af2780a8142921876d13ea38a068..fcbcdc6dcf66e979fedacce9d4e0bfa7a08f89b1 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl
|
| @@ -920,7 +920,9 @@ v8::Local<v8::Object> {{v8_class}}::findInstanceInPrototypeChain(v8::Local<v8::V
|
| {% if has_partial_interface %}
|
| {% if needs_runtime_enabled_installer %}
|
| InstallRuntimeEnabledFunction {{v8_class}}::install{{v8_class}}RuntimeEnabledFunction =
|
| - &{{v8_class}}::installRuntimeEnabledFeatures;
|
| + &{{v8_class}}::InstallRuntimeEnabledFeatures;
|
| +InstallRuntimeEnabledOnTemplateFunction {{v8_class}}::install{{v8_class}}RuntimeEnabledOnTemplateFunction =
|
| + &{{v8_class}}::InstallRuntimeEnabledFeaturesOnTemplate;
|
| {% endif %}
|
|
|
| InstallTemplateFunction {{v8_class}}::install{{v8_class}}TemplateFunction =
|
| @@ -929,6 +931,7 @@ InstallTemplateFunction {{v8_class}}::install{{v8_class}}TemplateFunction =
|
| void {{v8_class}}::updateWrapperTypeInfo(
|
| InstallTemplateFunction installTemplateFunction,
|
| InstallRuntimeEnabledFunction installRuntimeEnabledFunction,
|
| + InstallRuntimeEnabledOnTemplateFunction installRuntimeEnabledOnTemplateFunction,
|
| PreparePrototypeAndInterfaceObjectFunction preparePrototypeAndInterfaceObjectFunction) {
|
| ALLOW_UNUSED_LOCAL(installRuntimeEnabledFunction);
|
|
|
| @@ -936,8 +939,11 @@ void {{v8_class}}::updateWrapperTypeInfo(
|
| installTemplateFunction;
|
| {% if needs_runtime_enabled_installer %}
|
| CHECK(installRuntimeEnabledFunction);
|
| + CHECK(installRuntimeEnabledOnTemplateFunction);
|
| {{v8_class}}::install{{v8_class}}RuntimeEnabledFunction =
|
| installRuntimeEnabledFunction;
|
| + {{v8_class}}::install{{v8_class}}RuntimeEnabledOnTemplateFunction =
|
| + installRuntimeEnabledOnTemplateFunction;
|
| {% endif %}
|
| if (preparePrototypeAndInterfaceObjectFunction) {
|
| {{v8_class}}::wrapperTypeInfo.prepare_prototype_and_interface_object_function =
|
|
|