diff options
Diffstat (limited to 'src/qml/compat/removed_api.cpp')
| -rw-r--r-- | src/qml/compat/removed_api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compat/removed_api.cpp b/src/qml/compat/removed_api.cpp index 4b74d15d75..bf58c2be99 100644 --- a/src/qml/compat/removed_api.cpp +++ b/src/qml/compat/removed_api.cpp @@ -53,7 +53,7 @@ bool QQmlPrivate::AOTCompiledContext::callObjectPropertyLookup( QV4::Lookup *lookup = compilationUnit->runtimeLookups + index; QV4::Scope scope(engine->handle()); QV4::ScopedValue thisObject(scope, QV4::QObjectWrapper::wrap(scope.engine, object)); - QV4::ScopedFunctionObject function(scope, lookup->getter(lookup, engine->handle(), thisObject)); + QV4::ScopedFunctionObject function(scope, lookup->getter(engine->handle(), thisObject)); if (!function) { scope.engine->throwTypeError( QStringLiteral("Property '%1' of object [object Object] is not a function") @@ -79,7 +79,7 @@ bool QQmlPrivate::AOTCompiledContext::callQmlContextPropertyLookup( QV4::Scope scope(engine->handle()); QV4::ScopedValue thisObject(scope); QV4::ScopedFunctionObject function( - scope, lookup->qmlContextPropertyGetter(lookup, scope.engine, thisObject)); + scope, lookup->contextGetter(scope.engine, thisObject)); if (!function) { scope.engine->throwTypeError( QStringLiteral("Property '%1' of object [null] is not a function").arg( |
