diff options
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4context_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index 1a84097e14..09a15369a4 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -45,6 +45,7 @@ struct CompilationUnit; struct Function; } +struct QmlContextWrapper; struct Identifier; struct CallContext; struct CatchContext; @@ -126,7 +127,7 @@ struct WithContext : ExecutionContext { }; struct QmlContext : ExecutionContext { - QmlContext(QV4::ExecutionContext *outer, QV4::Object *qml); + QmlContext(QV4::ExecutionContext *outer, QV4::QmlContextWrapper *qml); Pointer<Object> qml; }; @@ -146,7 +147,7 @@ struct Q_QML_EXPORT ExecutionContext : public Managed Heap::CallContext *newCallContext(FunctionObject *f, CallData *callData); Heap::WithContext *newWithContext(Object *with); Heap::CatchContext *newCatchContext(String *exceptionVarName, const Value &exceptionValue); - Heap::QmlContext *newQmlContext(Object *qml); + Heap::QmlContext *newQmlContext(QmlContextWrapper *qml); void createMutableBinding(String *name, bool deletable); |