aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qml/jsruntime/qv4globalobject_p.h2
-rw-r--r--src/qml/jsruntime/qv4jsonobject_p.h2
-rw-r--r--src/qml/jsruntime/qv4mathobject_p.h2
-rw-r--r--src/qml/jsruntime/qv4objectproto_p.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4globalobject_p.h b/src/qml/jsruntime/qv4globalobject_p.h
index 63823acc19..0e07d1eca4 100644
--- a/src/qml/jsruntime/qv4globalobject_p.h
+++ b/src/qml/jsruntime/qv4globalobject_p.h
@@ -50,7 +50,7 @@ namespace QV4 {
struct Q_QML_EXPORT EvalFunction : FunctionObject
{
- V4_OBJECT
+ V4_OBJECT_NEW
EvalFunction(ExecutionContext *scope);
ReturnedValue evalCall(CallData *callData, bool directCall);
diff --git a/src/qml/jsruntime/qv4jsonobject_p.h b/src/qml/jsruntime/qv4jsonobject_p.h
index 34a4f4dd4b..4067dc67a8 100644
--- a/src/qml/jsruntime/qv4jsonobject_p.h
+++ b/src/qml/jsruntime/qv4jsonobject_p.h
@@ -52,7 +52,7 @@ namespace QV4 {
struct JsonObject : Object {
Q_MANAGED_TYPE(JsonObject)
- V4_OBJECT
+ V4_OBJECT_NEW
private:
typedef QSet<QV4::Object *> V4ObjectSet;
public:
diff --git a/src/qml/jsruntime/qv4mathobject_p.h b/src/qml/jsruntime/qv4mathobject_p.h
index 18a80c2ba0..e9159d1dc1 100644
--- a/src/qml/jsruntime/qv4mathobject_p.h
+++ b/src/qml/jsruntime/qv4mathobject_p.h
@@ -49,7 +49,7 @@ namespace QV4 {
struct MathObject: Object
{
- V4_OBJECT
+ V4_OBJECT_NEW
Q_MANAGED_TYPE(MathObject)
MathObject(InternalClass *ic);
diff --git a/src/qml/jsruntime/qv4objectproto_p.h b/src/qml/jsruntime/qv4objectproto_p.h
index 2b9974be06..ed0ea2dc1e 100644
--- a/src/qml/jsruntime/qv4objectproto_p.h
+++ b/src/qml/jsruntime/qv4objectproto_p.h
@@ -51,7 +51,7 @@ namespace QV4 {
struct ObjectCtor: FunctionObject
{
- V4_OBJECT
+ V4_OBJECT_NEW
ObjectCtor(ExecutionContext *scope);
static ReturnedValue construct(Managed *that, CallData *callData);