aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcontext.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-24 11:21:10 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-24 12:41:25 +0200
commit1eb41200948ab414f1c47d93123b41c547a993df (patch)
tree6a14bff7c95bb346825e60b6721b5829690eb0da /src/qml/qml/qqmlcontext.cpp
parent1d62cefbaa23ef96fa4dc36d950cc2d9a2d4b5c3 (diff)
Remove QV8Bindings class
This class tries to optimise binding compilation with v8. With the approach in v4 where we don't rewrite binding expressions anymore, this is not required anymore. Change-Id: I616aeeba85bc17a950d4c7341b3042ed8aa42bff Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcontext.cpp')
-rw-r--r--src/qml/qml/qqmlcontext.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/qml/qml/qqmlcontext.cpp b/src/qml/qml/qqmlcontext.cpp
index 3899f45aaf..efe586eec1 100644
--- a/src/qml/qml/qqmlcontext.cpp
+++ b/src/qml/qml/qqmlcontext.cpp
@@ -48,7 +48,6 @@
#include "qqmlengine_p.h"
#include "qqmlengine.h"
#include "qqmlinfo.h"
-#include <private/qv8bindings_p.h>
#include <qjsengine.h>
#include <QtCore/qvarlengtharray.h>
@@ -517,8 +516,7 @@ QQmlContextData::QQmlContextData()
publicContext(0), activeVMEData(0),
propertyNames(0), contextObject(0), imports(0), childContexts(0), nextChild(0), prevChild(0),
expressions(0), contextObjects(0), contextGuards(0), idValues(0), idValueCount(0), linkedContext(0),
- componentAttached(0),
- v8bindings(0)
+ componentAttached(0)
{
}
@@ -528,8 +526,7 @@ QQmlContextData::QQmlContextData(QQmlContext *ctxt)
publicContext(ctxt), activeVMEData(0),
propertyNames(0), contextObject(0), imports(0), childContexts(0), nextChild(0), prevChild(0),
expressions(0), contextObjects(0), contextGuards(0), idValues(0), idValueCount(0), linkedContext(0),
- componentAttached(0),
- v8bindings(0)
+ componentAttached(0)
{
}
@@ -637,9 +634,6 @@ void QQmlContextData::destroy()
if (imports)
imports->release();
- if (v8bindings)
- v8bindings->release();
-
delete [] idValues;
if (isInternal)