aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4script.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-04-29 10:48:39 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-07-22 13:49:00 +0200
commitc4dee17a32ea4e5737ef20f942442bcadad77829 (patch)
tree910de6d6491787f9e566d16cc1cb5ff8ff05701a /src/qml/jsruntime/qv4script.cpp
parent36dd5d597bf126223e3728806cbcf4682301b18f (diff)
Convert FunctionObject to new storage scheme
Change-Id: Ida213b4684c4d7c4c64e75999cbc87987d9894c8 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r--src/qml/jsruntime/qv4script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp
index 8a28f834fa..3ef6cfb34f 100644
--- a/src/qml/jsruntime/qv4script.cpp
+++ b/src/qml/jsruntime/qv4script.cpp
@@ -69,7 +69,7 @@ QmlBindingWrapper::QmlBindingWrapper(ExecutionContext *scope, Function *f, Objec
Q_ASSERT(scope->inUse());
setVTable(staticVTable());
- data.function = f;
+ d()->function = f;
if (function())
function()->compilationUnit->ref();
managedData()->needsActivation = function() ? function()->needsActivation() : false;