From 1eb41200948ab414f1c47d93123b41c547a993df Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 24 May 2013 11:21:10 +0200 Subject: 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 --- src/qml/qml/qqmlcontext.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/qml/qml/qqmlcontext.cpp') 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 #include #include @@ -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) -- cgit v1.2.3