1
0
forked from mirrors/0ad

Exact stack rooting for WriteStructuredClone and functions that use it.

Refs #2415

This was SVN commit r15607.
This commit is contained in:
Yves
2014-08-03 19:32:39 +00:00
parent f4d62152e7
commit efb889b79a
7 changed files with 61 additions and 22 deletions
+1 -1
View File
@@ -1433,7 +1433,7 @@ ScriptInterface::StructuredClone::~StructuredClone()
JS_ClearStructuredClone(m_Data, m_Size);
}
shared_ptr<ScriptInterface::StructuredClone> ScriptInterface::WriteStructuredClone(jsval v)
shared_ptr<ScriptInterface::StructuredClone> ScriptInterface::WriteStructuredClone(JS::HandleValue v)
{
JSAutoRequest rq(m->m_cx);
u64* data = NULL;