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

Unified Diff: third_party/WebKit/Source/bindings/templates/partial_interface.cpp.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.cpp.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
index 04f17cdb8ff158530e48adcd57285c0c693b03aa..69d3a64f3a546ae6ef9a23678cdadb7e2f4a5694 100644
--- a/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
@@ -7,9 +7,11 @@ void {{v8_class_or_partial}}::initialize() {
{{v8_class}}::updateWrapperTypeInfo(
&{{v8_class_or_partial}}::install{{v8_class}}Template,
{% if needs_runtime_enabled_installer %}
- &{{v8_class_or_partial}}::installRuntimeEnabledFeatures,
+ &{{v8_class_or_partial}}::InstallRuntimeEnabledFeatures,
+ &{{v8_class_or_partial}}::InstallRuntimeEnabledFeaturesOnTemplate,
{% else %}
nullptr,
+ nullptr,
{% endif %}
{{prepare_prototype_and_interface_object_func or 'nullptr'}});
{% for method in methods %}

Powered by Google App Engine
This is Rietveld 408576698