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 e813587b24809b7ce0ca77cad0693770601d90a0..11a2c1bf323ec8ea229a2e77ef5cfba2c113dbfc 100644 |
--- a/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl |
@@ -34,10 +34,10 @@ 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 %}{{newline}} |
- 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); |
+ static void install{{origin_trial_feature.name}}(const ScriptState*, v8::Local<v8::Object> instance); |
+ static void install{{origin_trial_feature.name}}(const ScriptState*, 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*); |
+ static void install{{origin_trial_feature.name}}(const ScriptState*); |
{% endif %} |
{% endfor %} |
private: |