diff options
Diffstat (limited to 'src/script/bridge/qscriptqobject_p.h')
-rw-r--r-- | src/script/bridge/qscriptqobject_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/script/bridge/qscriptqobject_p.h b/src/script/bridge/qscriptqobject_p.h index 0af6632..15c6e22 100644 --- a/src/script/bridge/qscriptqobject_p.h +++ b/src/script/bridge/qscriptqobject_p.h @@ -282,7 +282,7 @@ public: }; explicit QMetaObjectWrapperObject( - const QMetaObject *metaobject, JSC::JSValue ctor, + JSC::ExecState *, const QMetaObject *metaobject, JSC::JSValue ctor, WTF::PassRefPtr<JSC::Structure> sid); ~QMetaObjectWrapperObject(); @@ -310,7 +310,8 @@ public: JSC::JSValue, const JSC::ArgList&); static JSC::JSObject* construct(JSC::ExecState *, JSC::JSObject *, const JSC::ArgList &); - JSC::JSValue execute(JSC::ExecState *exec, const JSC::ArgList &args); + JSC::JSValue execute(JSC::ExecState *exec, const JSC::ArgList &args, + bool calledAsConstructor); inline const QMetaObject *value() const { return data->value; } inline void setValue(const QMetaObject* value) { data->value = value; } |