aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jsonobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4jsonobject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp
index df6de78710..d67daff07f 100644
--- a/src/qml/jsruntime/qv4jsonobject.cpp
+++ b/src/qml/jsruntime/qv4jsonobject.cpp
@@ -867,13 +867,13 @@ QString Stringify::JA(ArrayObject *a)
}
-JsonObject::JsonObject(ExecutionContext *context)
- : Object(context->engine)
+JsonObject::JsonObject(ExecutionEngine *engine)
+ : Object(engine)
{
type = Type_JSONObject;
- defineDefaultProperty(context, QStringLiteral("parse"), method_parse, 2);
- defineDefaultProperty(context, QStringLiteral("stringify"), method_stringify, 3);
+ defineDefaultProperty(QStringLiteral("parse"), method_parse, 2);
+ defineDefaultProperty(QStringLiteral("stringify"), method_stringify, 3);
}