From 0d63c22eee293fe59d7691608deaaf3468045eb3 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 2 Aug 2018 16:16:09 +0200 Subject: Remove support for iterating over the proto chain from ObjectIterator This will simplify moving over to the new iteration model. It implies a very small behavioral change in a few places where we used to iterate over the proto chain before. Change-Id: Ia62c9c51712d6b45e69ca63becdbefab6fa4bf3f Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4objectiterator_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/qml/jsruntime/qv4objectiterator_p.h') diff --git a/src/qml/jsruntime/qv4objectiterator_p.h b/src/qml/jsruntime/qv4objectiterator_p.h index 20eb918e12..ca40748b79 100644 --- a/src/qml/jsruntime/qv4objectiterator_p.h +++ b/src/qml/jsruntime/qv4objectiterator_p.h @@ -61,8 +61,7 @@ struct Q_QML_EXPORT ObjectIteratorData { enum Flags { NoFlags = 0, - EnumerableOnly = 0x1, - WithProtoChain = 0x2, + EnumerableOnly = 0x1 }; ExecutionEngine *engine; -- cgit v1.2.3