| Index: third_party/WebKit/Source/bindings/templates/partial_interface.h
|
| diff --git a/third_party/WebKit/Source/bindings/templates/partial_interface.h b/third_party/WebKit/Source/bindings/templates/partial_interface.h
|
| index cfe97763b877537e21e0926b7fb6441a478c36e4..420328e08c92713b32463c168b1d0332c952fc00 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/partial_interface.h
|
| +++ b/third_party/WebKit/Source/bindings/templates/partial_interface.h
|
| @@ -28,8 +28,11 @@ public:
|
| {% endfor %}
|
| {# Custom internal fields #}
|
| static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::FunctionTemplate>);
|
| - {% for origin_trial_feature_name in origin_trial_feature_names %}{{newline}}
|
| - static void install{{origin_trial_feature_name}}(ScriptState*, v8::Local<v8::Object> instance);
|
| + {% for origin_trial_feature in origin_trial_features %}{{newline}}
|
| + static void install{{origin_trial_feature.name}}(ScriptState*, v8::Local<v8::Object> instance);
|
| + {% if not origin_trial_feature.needs_instance %}
|
| + static void install{{origin_trial_feature.name}}(ScriptState*);
|
| + {% endif %}
|
| {% endfor %}
|
| private:
|
| static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interfaceTemplate);
|
|
|