aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-08-24 09:36:19 +0200
committerLars Knoll <lars.knoll@theqtcompany.com>2015-09-15 07:37:14 +0000
commitfb059f697a128f87ceecf5ddff1dd735ae78db20 (patch)
tree93ca45c213ef29fbc03b9f2d1a0d011b94ba1405 /src/qml/jsruntime/qv4context_p.h
parentcedd73279403244bbf4b74da4c3ec60111e60399 (diff)
Reduce usage of context->parent
Change-Id: I31bb8019783311a7e6065e2aac7fec67c1120ebf Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index 558630e945..cccca8a4fd 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -119,20 +119,20 @@ struct GlobalContext : ExecutionContext {
};
struct CatchContext : ExecutionContext {
- CatchContext(ExecutionEngine *engine, QV4::String *exceptionVarName, const Value &exceptionValue);
+ CatchContext(ExecutionContext *outerContext, QV4::String *exceptionVarName, const Value &exceptionValue);
Pointer<String> exceptionVarName;
Value exceptionValue;
};
struct WithContext : ExecutionContext {
- WithContext(ExecutionEngine *engine, QV4::Object *with);
+ WithContext(ExecutionContext *outerContext, QV4::Object *with);
Pointer<Object> withObject;
};
struct QmlContextWrapper;
struct QmlContext : ExecutionContext {
- QmlContext(QV4::ExecutionContext *outer, QV4::QmlContextWrapper *qml);
+ QmlContext(QV4::ExecutionContext *outerContext, QV4::QmlContextWrapper *qml);
Pointer<QmlContextWrapper> qml;
};