aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4objectproto_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-22 15:32:25 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-22 20:12:52 +0200
commit9213d031980d32f25468eeb9177d6f403060bf00 (patch)
treeafad3289bc434cdfdbed0345d77a0cda9e580980 /src/qml/jsruntime/qv4objectproto_p.h
parent5c153bd8aa197025c70bdd52d6181ee5bd2197f6 (diff)
Make qv4objectproto GC clean
Fix the remaining usages of raw pointers into the GC heap. Change-Id: I3654a6f74fe6b59e25ed65a79ff02c29cc2cdecc 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectproto_p.h b/src/qml/jsruntime/qv4objectproto_p.h
index 3930b39569..2f3041ab6a 100644
--- a/src/qml/jsruntime/qv4objectproto_p.h
+++ b/src/qml/jsruntime/qv4objectproto_p.h
@@ -94,7 +94,7 @@ struct ObjectPrototype: Object
static void toPropertyDescriptor(ExecutionContext *ctx, Value v, Property *desc, PropertyAttributes *attrs);
static ReturnedValue fromPropertyDescriptor(ExecutionContext *ctx, const Property *desc, PropertyAttributes attrs);
- static ArrayObject *getOwnPropertyNames(ExecutionEngine *v4, const Value &o);
+ static Returned<ArrayObject> *getOwnPropertyNames(ExecutionEngine *v4, const ValueRef o);
};