diff options
author | Oleg Shparber <trollixx@gmail.com> | 2014-12-31 10:42:15 -0800 |
---|---|---|
committer | Oleg Shparber <trollixx@gmail.com> | 2015-01-02 21:29:41 +0100 |
commit | 2fadffdc4630eca35d775d973a368feae2630bd9 (patch) | |
tree | b4af3d95e75655573cd2466d6807d3ae78feb47a /src/qml/jsruntime/qv4objectproto.cpp | |
parent | 29c0102adb8b800f4947e4e7962ca414fe576866 (diff) |
Use QV4::ScopedFunctionObject typedef instead of actual type
Change-Id: I6b4effaa5bef992b4ae9402eea7fe655bc7b18f0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
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(); |