Index: third_party/WebKit/Source/bindings/templates/interface.h |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h b/third_party/WebKit/Source/bindings/templates/interface.h |
index b03ec968545bc63e1c31e86b688bbcf1f92d2d6d..5e8510366ac2e4bf83889451d03ecd08894b17f1 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h |
@@ -168,8 +168,11 @@ public: |
{{exported}}static void register{{method.name | blink_capitalize}}MethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); |
{% endfor %} |
{% endif %} |
- {% 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 %} |
{% if has_partial_interface %} |