aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qml/jsruntime/qv4engine.cpp2
-rw-r--r--src/qml/jsruntime/qv4object.cpp2
-rw-r--r--src/qml/jsruntime/qv4object_p.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
index 8e198aaa33..a8a169f486 100644
--- a/src/qml/jsruntime/qv4engine.cpp
+++ b/src/qml/jsruntime/qv4engine.cpp
@@ -343,7 +343,7 @@ Object *ExecutionEngine::newObject()
Object *ExecutionEngine::newObject(InternalClass *internalClass)
{
- Object *object = new (memoryManager) Object(this, internalClass);
+ Object *object = new (memoryManager) Object(internalClass);
object->prototype = objectPrototype;
return object;
}
diff --git a/src/qml/jsruntime/qv4object.cpp b/src/qml/jsruntime/qv4object.cpp
index de651957f6..f76abdbb01 100644
--- a/src/qml/jsruntime/qv4object.cpp
+++ b/src/qml/jsruntime/qv4object.cpp
@@ -79,7 +79,7 @@ Object::Object(ExecutionEngine *engine)
memset(memberData, 0, sizeof(Property)*memberDataAlloc);
}
-Object::Object(ExecutionEngine *engine, InternalClass *internalClass)
+Object::Object(InternalClass *internalClass)
: Managed(internalClass)
, prototype(0)
, memberDataAlloc(InlinePropertySize), memberData(inlineProperties)
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h
index 522dd28b40..fc9af6f3a5 100644
--- a/src/qml/jsruntime/qv4object_p.h
+++ b/src/qml/jsruntime/qv4object_p.h
@@ -125,7 +125,7 @@ struct Q_QML_EXPORT Object: Managed {
Property inlineProperties[InlinePropertySize];
Object(ExecutionEngine *engine);
- Object(ExecutionEngine *engine, InternalClass *internalClass);
+ Object(InternalClass *internalClass);
~Object();
Property *__getOwnProperty__(String *name, PropertyAttributes *attrs = 0);