| Index: Source/bindings/scripts/CodeGeneratorV8.pm
|
| diff --git a/Source/bindings/scripts/CodeGeneratorV8.pm b/Source/bindings/scripts/CodeGeneratorV8.pm
|
| index dbb1c56a26978f9f8378e0c343b7f91931113a41..a5cb691ed0b1ca12ecc08be56ce7b673f854dba0 100644
|
| --- a/Source/bindings/scripts/CodeGeneratorV8.pm
|
| +++ b/Source/bindings/scripts/CodeGeneratorV8.pm
|
| @@ -2850,14 +2850,19 @@ inline void checkTypeOrDieTrying(${nativeType}* object)
|
|
|
| END
|
|
|
| -
|
| my $parentClassInfo = $parentClass ? "&${parentClass}::info" : "0";
|
| -
|
| my $WrapperTypePrototype = $interface->isException ? "WrapperTypeErrorPrototype" : "WrapperTypeObjectPrototype";
|
| -
|
| push(@implContentInternals, "WrapperTypeInfo ${v8InterfaceName}::info = { ${v8InterfaceName}::GetTemplate, ${v8InterfaceName}::derefObject, $toActiveDOMObject, $toEventTarget, $rootForGC, ${v8InterfaceName}::installPerContextPrototypeProperties, $parentClassInfo, $WrapperTypePrototype };\n\n");
|
| - push(@implContentInternals, "namespace ${interfaceName}V8Internal {\n\n");
|
|
|
| + push(@implContentInternals, <<END) if !$codeGenerator->IsSVGTypeNeedingTearOff($interfaceName);
|
| +void initializeScriptWrappableForInterface(${interfaceName}* object)
|
| +{
|
| + if (ScriptWrappable::wrapperCanBeStoredInObject(object))
|
| + ScriptWrappable::setTypeInfoInObject(object, &${v8InterfaceName}::info);
|
| +}
|
| +END
|
| +
|
| + push(@implContentInternals, "namespace ${interfaceName}V8Internal {\n\n");
|
| push(@implContentInternals, "template <typename T> void V8_USE(T) { }\n\n");
|
|
|
| my $hasConstructors = 0;
|
|
|