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

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

Issue 2260113002: Lazily install origin trial features on V8 objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase after parent CL landed Created 4 years, 3 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/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 ffe28dd7fdf0e5dae083d068989ed1f09159e83b..88fc9a8f82fd94b3d511fed7ea14d837dc4a273f 100644
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl
@@ -169,6 +169,7 @@ public:
{% 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);
{% if not origin_trial_feature.needs_instance %}
static void install{{origin_trial_feature.name}}(ScriptState*);

Powered by Google App Engine
This is Rietveld 408576698