summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-11-09 01:29:51 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-11-09 01:29:51 (GMT)
commit193fb1e278da5ec7b502859763712456708e9d95 (patch)
tree486a7967e40331ce66b9f8c5fa18cad6ccf955c2 /src
parent3ceeb87db6b6f7beeffe9df0417bd076fa72eece (diff)
downloadQt-193fb1e278da5ec7b502859763712456708e9d95.zip
Qt-193fb1e278da5ec7b502859763712456708e9d95.tar.gz
Qt-193fb1e278da5ec7b502859763712456708e9d95.tar.bz2
Cleanup following review
Diffstat (limited to 'src')
-rw-r--r--src/script/api/qscriptengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp
index de759c6..cd82b9e 100644
--- a/src/script/api/qscriptengine.cpp
+++ b/src/script/api/qscriptengine.cpp
@@ -1137,7 +1137,7 @@ void QScriptEnginePrivate::mark(JSC::MarkStack& markStack)
QScriptContext *context = q->currentContext();
while (context) {
- JSC::ScopeChainNode *node = ((JSC::ExecState *)context)->scopeChain();
+ JSC::ScopeChainNode *node = frameForContext(context)->scopeChain();
JSC::ScopeChainIterator it(node);
for (it = node->begin(); it != node->end(); ++it) {
JSC::JSObject *object = *it;