diff options
Diffstat (limited to 'src/qml/jsruntime/qv4object.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4object.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/qml/jsruntime/qv4object.cpp b/src/qml/jsruntime/qv4object.cpp index 2245e1de61..42cc3c7df4 100644 --- a/src/qml/jsruntime/qv4object.cpp +++ b/src/qml/jsruntime/qv4object.cpp @@ -51,16 +51,6 @@ using namespace QV4; DEFINE_OBJECT_VTABLE(Object); -Heap::Object::Object(InternalClass *internalClass, QV4::Object *prototype) - : prototype(prototype ? prototype->d() : 0) -{ - if (internalClass) { - Scope scope(internalClass->engine); - ScopedObject o(scope, this); - o->setInternalClass(internalClass); - } -} - void Object::setInternalClass(InternalClass *ic) { d()->internalClass = ic; |