aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context.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/qv4context.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/qv4context.cpp')
-rw-r--r--src/qml/jsruntime/qv4context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4context.cpp b/src/qml/jsruntime/qv4context.cpp
index d3901f460f..6d0471771f 100644
--- a/src/qml/jsruntime/qv4context.cpp
+++ b/src/qml/jsruntime/qv4context.cpp
@@ -124,7 +124,7 @@ void ExecutionContext::createMutableBinding(String *name, bool deletable)
Property desc(Primitive::undefinedValue());
PropertyAttributes attrs(Attr_Data);
attrs.setConfigurable(deletable);
- activation->__defineOwnProperty__(this, name, desc, attrs);
+ activation->__defineOwnProperty__(scope.engine, name, desc, attrs);
}