Index: webkit/port/bindings/v8/v8_proxy.h |
=================================================================== |
--- webkit/port/bindings/v8/v8_proxy.h (revision 16974) |
+++ webkit/port/bindings/v8/v8_proxy.h (working copy) |
@@ -258,6 +258,11 @@ |
int argc, |
v8::Handle<v8::Value> argv[]); |
+ // Call the function as constructor with the given arguments. |
+ v8::Local<v8::Value> NewInstance(v8::Handle<v8::Function> constructor, |
+ int argc, |
+ v8::Handle<v8::Value> argv[]); |
+ |
// Returns the dom constructor function for the given node type. |
v8::Local<v8::Function> GetConstructor(V8ClassIndex::V8WrapperType type); |