Adds missing request (fixes tests in debug mode).

This was SVN commit r15530.
This commit is contained in:
Yves 2014-07-13 22:08:29 +00:00
parent 882f3406e3
commit 09e04cb741

View File

@ -1267,6 +1267,7 @@ bool ScriptInterface::LoadGlobalScriptFile(const VfsPath& path)
bool ScriptInterface::Eval(const char* code)
{
JSAutoRequest rq(m->m_cx);
JS::RootedValue rval(m->m_cx);
return Eval_(code, &rval);
}