aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jsonobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-11-12 13:32:41 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-15 13:16:08 +0100
commit42674114127436564cf4598d54f671d46c1427b5 (patch)
tree58db5d1efa04cf6e87e83666684a7fa177c9d0f7 /src/qml/jsruntime/qv4jsonobject.cpp
parent7cc5fb2b53616ed2ca2b525262457fb44e2b5355 (diff)
Change signature of defineOwnProperty to take an engine instead of a context
Change-Id: Ib0d558d17162a205974c6f2f0daf8af5b0b9547b Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4jsonobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp
index 69bd97a65d..de5ffb5b86 100644
--- a/src/qml/jsruntime/qv4jsonobject.cpp
+++ b/src/qml/jsruntime/qv4jsonobject.cpp
@@ -716,7 +716,7 @@ QString Stringify::Str(const QString &key, ValueRef v)
if (replacerFunction) {
ScopedObject holder(scope, ctx->d()->engine->newObject());
- holder->put(ctx, QString(), value);
+ holder->put(scope.engine, QString(), value);
ScopedCallData callData(scope, 2);
callData->args[0] = Value::fromHeapObject(ctx->d()->engine->newString(key));
callData->args[1] = value;