aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickvisualdatamodel_p_p.h
diff options
context:
space:
mode:
authorAndrew den Exter <[email protected]>2012-06-05 16:43:57 +1000
committerQt by Nokia <[email protected]>2012-07-10 14:29:11 +0200
commit5c50c19231943368ae1f07dbc63d57fac84445ca (patch)
tree52a6b888c4cb953524b96cc574c68a964dbb15de /src/quick/items/qquickvisualdatamodel_p_p.h
parentb0b4869440fc6e5af42797cbcaa64ec30238be73 (diff)
Don't cache visual data model v8 handles.
The external resource is reference counted and resused irregardless of whether the handles are cached, and the reduction in the number of handles allocated needs to be comes at the cost of keeping persistent handle which have a negative impact on garbage collection. Change-Id: I92996faab08a0ff76d21e56dbdafdd7522882d2c Reviewed-by: Chris Adams <[email protected]>
Diffstat (limited to 'src/quick/items/qquickvisualdatamodel_p_p.h')
-rw-r--r--src/quick/items/qquickvisualdatamodel_p_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quick/items/qquickvisualdatamodel_p_p.h b/src/quick/items/qquickvisualdatamodel_p_p.h
index b88c8a42da..e59b6dd46e 100644
--- a/src/quick/items/qquickvisualdatamodel_p_p.h
+++ b/src/quick/items/qquickvisualdatamodel_p_p.h
@@ -151,8 +151,6 @@ public:
QObject *object;
QQuickVisualDataModelAttached *attached;
QVDMIncubationTask *incubationTask;
- v8::Persistent<v8::Object> indexHandle;
- v8::Persistent<v8::Value> modelHandle;
int objectRef;
int scriptRef;
int groups;