Index: webkit/port/bindings/scripts/CodeGeneratorV8.pm |
=================================================================== |
--- webkit/port/bindings/scripts/CodeGeneratorV8.pm (revision 6421) |
+++ webkit/port/bindings/scripts/CodeGeneratorV8.pm (working copy) |
@@ -418,10 +418,7 @@ |
V8ClassIndex::V8WrapperType type = V8ClassIndex::FromInt(data->Int32Value()); |
- v8::Handle<v8::FunctionTemplate> desc = V8Proxy::GetTemplate(type); |
- v8::Handle<v8::Function> func = desc->GetFunction(); |
- ASSERT(func->IsFunction()); |
- return func; |
+ return V8Proxy::retrieve()->GetConstructor(type); |
} |
END |