mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-16 20:55:04 +00:00
df489f2500
Remove the comment from53bcba3368that allures the reader to believe there is a memory leak which is not and has not been the case, refs D1700. Remove the useless JSAutoRequest from GetJSObject if the object was constructed already (performance improvement), following cx assignment in4b1297b328, following JSAutoRequest addition ine9e05f4efc(that also had removed other useles JSAutoRequest calls but not this one). Don't change JS::PersistentRooted to JS::Heap until SpiderMonkey is updated, refs D1700. Provide access to GUI, ScriptHandlers and JSObject for inheriting classes. This was SVN commit r22593.