diff options
Diffstat (limited to 'src/qml/jsruntime/qv4typedarray.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4typedarray.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4typedarray.cpp b/src/qml/jsruntime/qv4typedarray.cpp index 06712831c2..72823efa12 100644 --- a/src/qml/jsruntime/qv4typedarray.cpp +++ b/src/qml/jsruntime/qv4typedarray.cpp @@ -339,9 +339,10 @@ TypedArray::Data::Data(ExecutionEngine *e, Type t) { } -void TypedArray::markObjects(Managed *that, ExecutionEngine *e) +void TypedArray::markObjects(HeapObject *that, ExecutionEngine *e) { - static_cast<TypedArray *>(that)->d()->buffer->mark(e); + static_cast<TypedArray::Data *>(that)->buffer->mark(e); + Object::markObjects(that, e); } ReturnedValue TypedArray::getIndexed(Managed *m, uint index, bool *hasProperty) |