From 0f2cf9074d4f0220f5c707eed478f99334814789 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 25 Sep 2013 10:09:26 +0200 Subject: Fix CallContext to not hold arguments on the C stack anymore Change-Id: I35f46cce4f243d4b8b2bac9244f8fc26836f413b Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4sequenceobject_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4sequenceobject_p.h') diff --git a/src/qml/jsruntime/qv4sequenceobject_p.h b/src/qml/jsruntime/qv4sequenceobject_p.h index ca58b11090..a743bac247 100644 --- a/src/qml/jsruntime/qv4sequenceobject_p.h +++ b/src/qml/jsruntime/qv4sequenceobject_p.h @@ -71,7 +71,7 @@ struct SequencePrototype : public QV4::Object static ReturnedValue method_valueOf(QV4::SimpleCallContext *ctx) { - return QV4::Value::fromString(ctx->thisObject.toString(ctx)).asReturnedValue(); + return QV4::Value::fromString(ctx->callData->thisObject.toString(ctx)).asReturnedValue(); } static ReturnedValue method_sort(QV4::SimpleCallContext *ctx); -- cgit v1.2.3