diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-28 09:50:57 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-28 09:57:08 (GMT) |
commit | acac0684d0eb13792cbb8b9bde6f077642dcc640 (patch) | |
tree | ad5272b020b90380b92747fefce7af894559b8ef /src/script/api/qscriptengine_p.h | |
parent | 9e9f896312edf68584bea5c9b70ec0f1205a11ab (diff) | |
download | Qt-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.h | 1 |
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; |