Index: third_party/WebKit/Source/bindings/templates/interface_base.cpp |
diff --git a/third_party/WebKit/Source/bindings/templates/interface_base.cpp b/third_party/WebKit/Source/bindings/templates/interface_base.cpp |
index 37012d47e83c449f681821b4c02547e7e3915c54..275d01fa3d4b7bea7c228b21c60e173c39918903 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface_base.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/interface_base.cpp |
@@ -298,6 +298,8 @@ static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate> function |
v8::Local<v8::Signature> defaultSignature; |
{% set parent_template = |
+ '%s::domTemplateForNamedPropertiesObject(isolate)' % v8_class |
+ if has_named_properties_object else |
'V8%s::domTemplate(isolate)' % parent_interface |
if parent_interface else 'v8::Local<v8::FunctionTemplate>()' %} |
{% if runtime_enabled_function %} |
@@ -481,6 +483,7 @@ static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate> function |
{% endblock %} |
{##############################################################################} |
{% block get_dom_template %}{% endblock %} |
+{% block get_dom_template_for_named_properties_object %}{% endblock %} |
{% block has_instance %}{% endblock %} |
{% block to_impl %}{% endblock %} |
{% block to_impl_with_type_check %}{% endblock %} |