diff options
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4objectproto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4objectproto.cpp b/src/qml/jsruntime/qv4objectproto.cpp index 3a6ddee55b..4e90f652e4 100644 --- a/src/qml/jsruntime/qv4objectproto.cpp +++ b/src/qml/jsruntime/qv4objectproto.cpp @@ -405,7 +405,7 @@ ReturnedValue ObjectPrototype::method_toLocaleString(CallContext *ctx) ScopedObject o(scope, ctx->d()->callData->thisObject.toObject(scope.engine)); if (!o) return Encode::undefined(); - Scoped<FunctionObject> f(scope, o->get(ctx->d()->engine->id_toString)); + ScopedFunctionObject f(scope, o->get(ctx->d()->engine->id_toString)); if (!f) return ctx->engine()->throwTypeError(); ScopedCallData callData(scope); @@ -477,7 +477,7 @@ ReturnedValue ObjectPrototype::method_defineGetter(CallContext *ctx) return ctx->engine()->throwTypeError(); Scope scope(ctx); - Scoped<FunctionObject> f(scope, ctx->argument(1)); + ScopedFunctionObject f(scope, ctx->argument(1)); if (!f) return ctx->engine()->throwTypeError(); @@ -505,7 +505,7 @@ ReturnedValue ObjectPrototype::method_defineSetter(CallContext *ctx) return ctx->engine()->throwTypeError(); Scope scope(ctx); - Scoped<FunctionObject> f(scope, ctx->argument(1)); + ScopedFunctionObject f(scope, ctx->argument(1)); if (!f) return ctx->engine()->throwTypeError(); |
