| Index: third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| index 1d26638607c0a390911509f627ae838d212438ab..6146af2c7f5de7da52d72769ac6b0b4e2aa85ac6 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
| @@ -636,8 +636,7 @@ for (const auto& methodConfig : {{method.name}}MethodConfiguration)
|
|
|
| {######################################}
|
| {% macro install_conditionally_enabled_methods() %}
|
| -{% if methods | conditionally_exposed(is_partial) %}
|
| -{% for method in methods | conditionally_exposed(is_partial) %}
|
| +{% for method in conditionally_enabled_methods %}
|
| {% filter secure_context(method.overloads.secure_context_test_all
|
| if method.overloads else
|
| method.secure_context_test) %}
|
| @@ -656,5 +655,4 @@ for (const auto& methodConfig : {{method.name}}MethodConfiguration)
|
| {% endfilter %}{# exposed() #}
|
| {% endfilter %}{# secure_context() #}
|
| {% endfor %}
|
| -{% endif %}
|
| {%- endmacro %}
|
|
|