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

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

Issue 2458183002: Eagerly install Origin Trial features on window (Closed)
Patch Set: Addressing review comments Created 4 years, 1 month 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/interface.h.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
index 081b3bb9a9ccf4ba933cfca1a5b0a664ca06fdb1..eb93286f656ee3467abf11cbc1de015f5fb9ef72 100644
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
@@ -164,10 +164,10 @@ class {{v8_class}} {
{% endfor %}
{% endif %}
{% for origin_trial_feature in origin_trial_features %}{{newline}}
- 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}}(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);
+ static void install{{origin_trial_feature.name}}(const ScriptState*, v8::Local<v8::Object> instance);
{% 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 %}
{% if has_partial_interface %}

Powered by Google App Engine
This is Rietveld 408576698