diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-11-12 14:23:18 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-15 13:16:47 +0100 |
commit | 124ff9c5a35061d14288fe355399b9f27d615841 (patch) | |
tree | dbad98ebb44a369412ea14b328b4699f247e9afc /src/qml/jsruntime/qv4objectproto_p.h | |
parent | 3965ebb3ffc60957108d6c6f3a41eed08c4280a0 (diff) |
Use the engine instead of the context where it makes sense
Change-Id: I17a3b6f4b3c076107dc9a8de667ac526566ea6e3
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4objectproto_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4objectproto_p.h b/src/qml/jsruntime/qv4objectproto_p.h index e58ef10492..4bbcb297be 100644 --- a/src/qml/jsruntime/qv4objectproto_p.h +++ b/src/qml/jsruntime/qv4objectproto_p.h @@ -88,8 +88,8 @@ struct ObjectPrototype: Object static ReturnedValue method_get_proto(CallContext *ctx); static ReturnedValue method_set_proto(CallContext *ctx); - static void toPropertyDescriptor(ExecutionContext *ctx, const ValueRef v, Property *desc, PropertyAttributes *attrs); - static ReturnedValue fromPropertyDescriptor(ExecutionContext *ctx, const Property *desc, PropertyAttributes attrs); + static void toPropertyDescriptor(ExecutionEngine *engine, const ValueRef v, Property *desc, PropertyAttributes *attrs); + static ReturnedValue fromPropertyDescriptor(ExecutionEngine *engine, const Property *desc, PropertyAttributes attrs); static Heap::ArrayObject *getOwnPropertyNames(ExecutionEngine *v4, const ValueRef o); }; |