Index: Source/bindings/core/v8/V8DOMConfiguration.cpp |
diff --git a/Source/bindings/core/v8/V8DOMConfiguration.cpp b/Source/bindings/core/v8/V8DOMConfiguration.cpp |
index ad487a8acca735300a0ec4bc8b706eb710bc32e7..216108e4313d9f349a92dcdf2e78b9a20fbd549f 100644 |
--- a/Source/bindings/core/v8/V8DOMConfiguration.cpp |
+++ b/Source/bindings/core/v8/V8DOMConfiguration.cpp |
@@ -256,6 +256,7 @@ v8::Local<v8::Signature> V8DOMConfiguration::installDOMClassTemplate(v8::Isolate |
const AccessorConfiguration* accessors, size_t accessorCount, |
const MethodConfiguration* callbacks, size_t callbackCount) |
{ |
+ // This defines the constructor function's "name" property. |
functionDescriptor->SetClassName(v8AtomicString(isolate, interfaceName)); |
v8::Local<v8::ObjectTemplate> instanceTemplate = functionDescriptor->InstanceTemplate(); |
v8::Local<v8::ObjectTemplate> prototypeTemplate = functionDescriptor->PrototypeTemplate(); |