diff options
Diffstat (limited to 'src/qml/jsruntime/qv4arrayobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4arrayobject.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/qml/jsruntime/qv4arrayobject.cpp b/src/qml/jsruntime/qv4arrayobject.cpp index f6e676de2c..d388875e3b 100644 --- a/src/qml/jsruntime/qv4arrayobject.cpp +++ b/src/qml/jsruntime/qv4arrayobject.cpp @@ -690,7 +690,7 @@ ReturnedValue ArrayPrototype::method_every(CallContext *ctx) uint len = instance->getLength(); - Scoped<FunctionObject> callback(scope, ctx->argument(0)); + ScopedFunctionObject callback(scope, ctx->argument(0)); if (!callback) return ctx->engine()->throwTypeError(); @@ -724,7 +724,7 @@ ReturnedValue ArrayPrototype::method_some(CallContext *ctx) uint len = instance->getLength(); - Scoped<FunctionObject> callback(scope, ctx->argument(0)); + ScopedFunctionObject callback(scope, ctx->argument(0)); if (!callback) return ctx->engine()->throwTypeError(); @@ -758,7 +758,7 @@ ReturnedValue ArrayPrototype::method_forEach(CallContext *ctx) uint len = instance->getLength(); - Scoped<FunctionObject> callback(scope, ctx->argument(0)); + ScopedFunctionObject callback(scope, ctx->argument(0)); if (!callback) return ctx->engine()->throwTypeError(); @@ -789,7 +789,7 @@ ReturnedValue ArrayPrototype::method_map(CallContext *ctx) uint len = instance->getLength(); - Scoped<FunctionObject> callback(scope, ctx->argument(0)); + ScopedFunctionObject callback(scope, ctx->argument(0)); if (!callback) return ctx->engine()->throwTypeError(); @@ -826,7 +826,7 @@ ReturnedValue ArrayPrototype::method_filter(CallContext *ctx) uint len = instance->getLength(); - Scoped<FunctionObject> callback(scope, ctx->argument(0)); + ScopedFunctionObject callback(scope, ctx->argument(0)); if (!callback) return ctx->engine()->throwTypeError(); @@ -867,7 +867,7 @@ ReturnedValue ArrayPrototype::method_reduce(CallContext *ctx) uint len = instance->getLength(); - Scoped<FunctionObject> callback(scope, ctx->argument(0)); + ScopedFunctionObject callback(scope, ctx->argument(0)); if (!callback) return ctx->engine()->throwTypeError(); @@ -917,7 +917,7 @@ ReturnedValue ArrayPrototype::method_reduceRight(CallContext *ctx) uint len = instance->getLength(); - Scoped<FunctionObject> callback(scope, ctx->argument(0)); + ScopedFunctionObject callback(scope, ctx->argument(0)); if (!callback) return ctx->engine()->throwTypeError(); |