Index: third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl |
index 6fb896568b4a3ea5fa465a025a403f70517c1c3e..1359c46539cdec5df693b3114ffb7bc2f53173e8 100644 |
--- a/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl |
@@ -34,11 +34,11 @@ class {{v8_class_or_partial}} { |
static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::FunctionTemplate>); |
{% endif %} |
- {% for origin_trial_feature in origin_trial_features %} |
- static void install{{origin_trial_feature.name}}(ScriptState*, v8::Local<v8::Object> instance); |
- static void install{{origin_trial_feature.name}}(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface); |
- {% if not origin_trial_feature.needs_instance %} |
- static void install{{origin_trial_feature.name}}(ScriptState*); |
+ {% for feature in origin_trial_features %} |
+ static void install{{feature.name}}(ScriptState*, v8::Local<v8::Object> instance); |
+ static void install{{feature.name}}(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface); |
+ {% if not feature.needs_instance %} |
+ static void install{{feature.name}}(ScriptState*); |
{% endif %} |
{% endfor %} |