diff options
author | Oleg Shparber <trollixx@gmail.com> | 2014-12-31 10:40:16 -0800 |
---|---|---|
committer | Oleg Shparber <trollixx@gmail.com> | 2015-01-03 23:29:51 +0100 |
commit | 4a9ed3de7d92809cf575f245f55d4f422b4983c3 (patch) | |
tree | df242fa9aa2895cf451096d2384e8f04ce1d0c70 /src/qml/jsruntime/qv4objectproto.cpp | |
parent | 21d481c209692ec73ab6b6bc43e6977fc2f8c2fc (diff) |
Use QV4::ScopedArrayObject typedef instead of actual type
Change-Id: I975536745ac6c264aca074f84d223fbec7682d3d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4objectproto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4objectproto.cpp b/src/qml/jsruntime/qv4objectproto.cpp index 4e90f652e4..096647d425 100644 --- a/src/qml/jsruntime/qv4objectproto.cpp +++ b/src/qml/jsruntime/qv4objectproto.cpp @@ -371,7 +371,7 @@ ReturnedValue ObjectPrototype::method_keys(CallContext *ctx) if (!o) return ctx->engine()->throwTypeError(); - Scoped<ArrayObject> a(scope, ctx->d()->engine->newArrayObject()); + ScopedArrayObject a(scope, ctx->d()->engine->newArrayObject()); ObjectIterator it(scope, o, ObjectIterator::EnumerableOnly); ScopedValue name(scope); @@ -672,7 +672,7 @@ ReturnedValue ObjectPrototype::fromPropertyDescriptor(ExecutionEngine *engine, c Heap::ArrayObject *ObjectPrototype::getOwnPropertyNames(ExecutionEngine *v4, const ValueRef o) { Scope scope(v4); - Scoped<ArrayObject> array(scope, v4->newArrayObject()); + ScopedArrayObject array(scope, v4->newArrayObject()); ScopedObject O(scope, o); if (O) { ObjectIterator it(scope, O, ObjectIterator::NoFlags); |