aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4object_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-09-08 11:40:44 +0200
committerLars Knoll <lars.knoll@qt.io>2018-09-08 16:51:08 +0000
commitf726c56ce8ca5cfae510d8b81b44ad816f6ad245 (patch)
tree199fe17be19bbbee1762512525db1da9e8e83cec /src/qml/jsruntime/qv4object_p.h
parent6e36fdb2f65ede9c84d2e822f1a69d31a756bc49 (diff)
Fix spec compliance of Object::virtualGet()
Change-Id: I9c07a6b08e9029b893c28e7a945f839c0f0dda8d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r--src/qml/jsruntime/qv4object_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h
index 70fee128b6..acd84cd66e 100644
--- a/src/qml/jsruntime/qv4object_p.h
+++ b/src/qml/jsruntime/qv4object_p.h
@@ -380,8 +380,7 @@ protected:
private:
bool internalDefineOwnProperty(ExecutionEngine *engine, uint index, StringOrSymbol *member, const Property *p, PropertyAttributes attrs);
- ReturnedValue internalGet(StringOrSymbol *name, const Value *receiver, bool *hasProperty) const;
- ReturnedValue internalGetIndexed(uint index, const Value *receiver, bool *hasProperty) const;
+ ReturnedValue internalGet(PropertyKey id, const Value *receiver, bool *hasProperty) const;
bool internalPut(PropertyKey id, const Value &value, Value *receiver);
bool internalDeleteProperty(PropertyKey id);