summaryrefslogtreecommitdiffstats
path: root/src/script/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/bridge')
-rw-r--r--src/script/bridge/qscriptqobject.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/script/bridge/qscriptqobject.cpp b/src/script/bridge/qscriptqobject.cpp
index ff88921..bb701ce 100644
--- a/src/script/bridge/qscriptqobject.cpp
+++ b/src/script/bridge/qscriptqobject.cpp
@@ -267,9 +267,7 @@ void QtFunction::mark()
{
Q_ASSERT(!marked());
if (data->object && !data->object.marked()) {
- // FIXME: Causes infinite recursion because the object will mark this function,
- // which will again mark the object, and so on. Need an "is marking" flag.
-// data->object.mark();
+ JSC::asObject(data->object)->JSC::JSObject::mark();
}
JSC::InternalFunction::mark();
}