diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-09-08 22:29:47 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-09-09 15:52:02 +0000 |
commit | 009a125d07448428a00abec70a894febe759adec (patch) | |
tree | c3c7411073517ce1931e4968f9928085d00782f6 /src/qml/jsruntime/qv4argumentsobject.cpp | |
parent | 5d470f51214b273951cc7612ee018fc347716836 (diff) |
Fix ownKey iteration over Proxy objects
Change-Id: I045a4844c06df9232cc8b04485ab0a39bb990e3f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4argumentsobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4argumentsobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4argumentsobject.cpp b/src/qml/jsruntime/qv4argumentsobject.cpp index 6c1c4a6eea..86b97d83a1 100644 --- a/src/qml/jsruntime/qv4argumentsobject.cpp +++ b/src/qml/jsruntime/qv4argumentsobject.cpp @@ -213,8 +213,8 @@ qint64 ArgumentsObject::virtualGetLength(const Managed *m) return a->propertyData(Heap::ArgumentsObject::LengthPropertyIndex)->toLength(); } -OwnPropertyKeyIterator *ArgumentsObject::virtualOwnPropertyKeys(const Object *m) +OwnPropertyKeyIterator *ArgumentsObject::virtualOwnPropertyKeys(const Object *m, Value *target) { static_cast<ArgumentsObject *>(const_cast<Object *>(m))->fullyCreate(); - return Object::virtualOwnPropertyKeys(m); + return Object::virtualOwnPropertyKeys(m, target); } |