summaryrefslogtreecommitdiffstats
path: root/src/script/bridge
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-07-13 07:48:50 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-07-13 09:25:57 (GMT)
commit2859da9f22517099ce5d193398b7cc417a9c54d7 (patch)
tree147ca3ddbea2b4fc3a3c86f29a7a3db48e05f1a0 /src/script/bridge
parent777762fa72de048b8ace97e21192bb659accb9f9 (diff)
downloadQt-2859da9f22517099ce5d193398b7cc417a9c54d7.zip
Qt-2859da9f22517099ce5d193398b7cc417a9c54d7.tar.gz
Qt-2859da9f22517099ce5d193398b7cc417a9c54d7.tar.bz2
mark object data if we have it
Diffstat (limited to 'src/script/bridge')
-rw-r--r--src/script/bridge/qscriptobject.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptobject.cpp b/src/script/bridge/qscriptobject.cpp
index d490959..b657af7 100644
--- a/src/script/bridge/qscriptobject.cpp
+++ b/src/script/bridge/qscriptobject.cpp
@@ -113,6 +113,8 @@ void QScriptObject::getPropertyNames(JSC::ExecState* exec, JSC::PropertyNameArra
void QScriptObject::mark()
{
+ if (d && d->data)
+ d->data.mark();
if (!d || !d->delegate) {
JSC::JSObject::mark();
return;