aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOleg Shparber <trollixx@gmail.com>2014-12-31 10:42:15 -0800
committerOleg Shparber <trollixx@gmail.com>2015-01-02 21:29:41 +0100
commit2fadffdc4630eca35d775d973a368feae2630bd9 (patch)
treeb4af3d95e75655573cd2466d6807d3ae78feb47a /tests
parent29c0102adb8b800f4947e4e7962ca414fe576866 (diff)
Use QV4::ScopedFunctionObject typedef instead of actual type
Change-Id: I6b4effaa5bef992b4ae9402eea7fe655bc7b18f0 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
index 8627c3d1ec..0a0ba3ea4c 100644
--- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
+++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
@@ -2306,7 +2306,7 @@ static inline bool evaluate_error(QV8Engine *engine, const QV4::ValueRef o, cons
QV4::Script program(QV4::ScopedContext(scope, scope.engine->rootContext()), functionSource);
program.inheritContext = true;
- QV4::Scoped<QV4::FunctionObject> function(scope, program.run());
+ QV4::ScopedFunctionObject function(scope, program.run());
if (scope.engine->hasException) {
scope.engine->catchException();
return true;
@@ -2332,7 +2332,7 @@ static inline bool evaluate_value(QV8Engine *engine, const QV4::ValueRef o,
QV4::Script program(QV4::ScopedContext(scope, scope.engine->rootContext()), functionSource);
program.inheritContext = true;
- QV4::Scoped<QV4::FunctionObject> function(scope, program.run());
+ QV4::ScopedFunctionObject function(scope, program.run());
if (scope.engine->hasException) {
scope.engine->catchException();
return false;
@@ -2363,7 +2363,7 @@ static inline QV4::ReturnedValue evaluate(QV8Engine *engine, const QV4::ValueRef
QV4::Script program(QV4::ScopedContext(scope, scope.engine->rootContext()), functionSource);
program.inheritContext = true;
- QV4::Scoped<QV4::FunctionObject> function(scope, program.run());
+ QV4::ScopedFunctionObject function(scope, program.run());
if (scope.engine->hasException) {
scope.engine->catchException();
return QV4::Encode::undefined();