mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1052042 - Make AutoJSAPI MOZ_STACK_CLASS. r=billm
We're about to give AutoEntryScript (a subclass) a non-virtual destructor, which is safe so long as these things are only stack-allocated.
This commit is contained in:
parent
acdd837d73
commit
8c4bd13859
@ -122,7 +122,7 @@ private:
|
||||
* fail. This prevents system code from accidentally triggering script
|
||||
* execution at inopportune moments via surreptitious getters and proxies.
|
||||
*/
|
||||
class AutoJSAPI {
|
||||
class MOZ_STACK_CLASS AutoJSAPI {
|
||||
public:
|
||||
// Trivial constructor. One of the Init functions must be called before
|
||||
// accessing the JSContext through cx().
|
||||
|
Loading…
Reference in New Issue
Block a user