summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine_p.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-28 09:50:57 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-28 09:57:08 (GMT)
commitacac0684d0eb13792cbb8b9bde6f077642dcc640 (patch)
treead5272b020b90380b92747fefce7af894559b8ef /src/script/api/qscriptengine_p.h
parent9e9f896312edf68584bea5c9b70ec0f1205a11ab (diff)
downloadQt-acac0684d0eb13792cbb8b9bde6f077642dcc640.zip
Qt-acac0684d0eb13792cbb8b9bde6f077642dcc640.tar.gz
Qt-acac0684d0eb13792cbb8b9bde6f077642dcc640.tar.bz2
Fix tst_QScriptEngine::nestedEvaluate
The 'this' value was not correctly set when evaluating Reviewed-by: Kent Hansen
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r--src/script/api/qscriptengine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h
index c0f5e13..151ddb2 100644
--- a/src/script/api/qscriptengine_p.h
+++ b/src/script/api/qscriptengine_p.h
@@ -117,6 +117,7 @@ public:
void setGlobalObject(JSC::JSObject *object);
JSC::ExecState *globalExec() const;
JSC::JSValue toUsableValue(JSC::JSValue value);
+ static JSC::JSValue thisForContext(JSC::ExecState *frame);
void mark();
bool isCollecting() const;