aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4objectiterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4objectiterator.cpp')
-rw-r--r--src/qml/jsruntime/qv4objectiterator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4objectiterator.cpp b/src/qml/jsruntime/qv4objectiterator.cpp
index cec0873527..62595b5176 100644
--- a/src/qml/jsruntime/qv4objectiterator.cpp
+++ b/src/qml/jsruntime/qv4objectiterator.cpp
@@ -174,10 +174,10 @@ ReturnedValue ObjectIterator::nextPropertyNameAsString()
DEFINE_MANAGED_VTABLE(ForEachIteratorObject);
-void ForEachIteratorObject::markObjects(Managed *that)
+void ForEachIteratorObject::markObjects(Managed *that, ExecutionEngine *e)
{
ForEachIteratorObject *o = static_cast<ForEachIteratorObject *>(that);
- o->workArea[0].mark();
- o->workArea[1].mark();
- Object::markObjects(that);
+ o->workArea[0].mark(e);
+ o->workArea[1].mark(e);
+ Object::markObjects(that, e);
}