Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Unified Diff: webkit/port/bindings/scripts/CodeGeneratorV8.pm

Issue 13224: This is a cleaned up fix of Christian's original patch in ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/port/bindings/v8/v8_index.h » ('j') | webkit/port/bindings/v8/v8_proxy.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | webkit/port/bindings/v8/v8_index.h » ('j') | webkit/port/bindings/v8/v8_proxy.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698