| Index: third_party/WebKit/Source/bindings/templates/methods.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp b/third_party/WebKit/Source/bindings/templates/methods.cpp
|
| index a0c53e32ea84b9761279c0e62f90977a284fb05e..11ddba1121406bca60ff1ccac8276997338e6187 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/methods.cpp
|
| +++ b/third_party/WebKit/Source/bindings/templates/methods.cpp
|
| @@ -1,5 +1,4 @@
|
| -{% from 'utilities.cpp' import declare_enum_validation_variable, v8_value_to_local_cpp_value %}
|
| -
|
| +{% from 'utilities.cpp' import declare_enum_validation_variable, v8_value_to_local_cpp_value, check_api_experiment %}
|
|
|
| {##############################################################################}
|
| {% macro generate_method(method, world_suffix) %}
|
| @@ -511,6 +510,9 @@ static void {{method.name}}MethodCallback{{world_suffix}}(const v8::FunctionCall
|
| {% if method.deprecate_as %}
|
| UseCounter::countDeprecationIfNotPrivateScript(info.GetIsolate(), callingExecutionContext(info.GetIsolate()), UseCounter::{{method.deprecate_as}});
|
| {% endif %}
|
| + {% if method.is_api_experiment_enabled %}
|
| + {{check_api_experiment(method) | indent}}
|
| + {% endif %}
|
| {% endif %}{# not method.overloads #}
|
| {% if world_suffix in method.activity_logging_world_list %}
|
| ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentContext());
|
|
|