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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Support runtime feature on templates Created 3 years, 6 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 d2b9a5706920a3dfdcb60e0a4668d913b2738c5a..d5cff13fd047bc30e53a214cd8f6b9a55925743e 100644
--- a/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl
@@ -42,12 +42,16 @@ class {{v8_class_or_partial}} {
{% endfor %}
{% if needs_runtime_enabled_installer %}
- static void installRuntimeEnabledFeatures(
- v8::Isolate* isolate,
- const DOMWrapperWorld& world,
+ static void InstallRuntimeEnabledFeatures(
+ v8::Isolate*,
+ const DOMWrapperWorld&,
v8::Local<v8::Object> instance,
v8::Local<v8::Object> prototype,
v8::Local<v8::Function> interface);
+ static void InstallRuntimeEnabledFeaturesOnTemplate(
+ v8::Isolate*,
+ const DOMWrapperWorld&,
+ v8::Local<v8::FunctionTemplate> interface_template);
{% endif %}
// Callback functions

Powered by Google App Engine
This is Rietveld 408576698