Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 7deb799413cd038596094ff4553df82763727db1..b1602fb30ae495f4bac3071846a79d3bc9ae8cc0 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -553,7 +553,7 @@ static void {{cpp_class}}OriginSafeMethodSetterCallback(v8::Local<v8::String> na |
{##############################################################################} |
-{% from 'methods.cpp' import named_constructor_callback with context %} |
+{% from 'methods.cpp' import generate_constructor with context %} |
{% block named_constructor %} |
{% if named_constructor %} |
{% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class |
@@ -562,7 +562,7 @@ static void {{cpp_class}}OriginSafeMethodSetterCallback(v8::Local<v8::String> na |
if is_event_target else '0' %} |
const WrapperTypeInfo {{v8_class}}Constructor::wrapperTypeInfo = { gin::kEmbedderBlink, {{v8_class}}Constructor::domTemplate, {{v8_class}}::derefObject, {{to_active_dom_object}}, {{to_event_target}}, 0, {{v8_class}}::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype, {{gc_type}} }; |
-{{named_constructor_callback(named_constructor)}} |
+{{generate_constructor(named_constructor)}} |
v8::Handle<v8::FunctionTemplate> {{v8_class}}Constructor::domTemplate(v8::Isolate* isolate) |
{ |
static int domTemplateKey; // This address is used for a key to look up the dom template. |