| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 41e2088c9f259ead4719804715432099b599c090..70141698369028fcffd817fe87b7e9aa0fea7bbf 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -342,6 +342,7 @@ static void {{overloads.name}}Method{{world_suffix}}(const v8::FunctionCallbackI
|
| {# Then resolve by testing argument #}
|
| {% for test, method in tests_methods %}
|
| {# 10. If i = d, then: #}
|
| + {% filter runtime_enabled(method.overload_runtime_enabled_function) %}
|
| if ({{test}}) {
|
| {% if method.measure_as and not overloads.measure_all_as %}
|
| UseCounter::count(callingExecutionContext(isolate), UseCounter::{{method.measure_as}});
|
| @@ -352,6 +353,7 @@ static void {{overloads.name}}Method{{world_suffix}}(const v8::FunctionCallbackI
|
| {{method.name}}{{method.overload_index}}Method{{world_suffix}}(info);
|
| return;
|
| }
|
| + {% endfilter %}
|
| {% endfor %}
|
| break;
|
| {% endfor %}
|
|
|