Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl

Issue 2458183002: Eagerly install Origin Trial features on window (Closed)
Patch Set: Clean up Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698