mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 558675.
This commit is contained in:
parent
2be5f62bd9
commit
50d613eab8
@ -1855,9 +1855,8 @@ class AutoIdRooter : private AutoGCRooter
|
|||||||
|
|
||||||
class AutoIdArray : private AutoGCRooter {
|
class AutoIdArray : private AutoGCRooter {
|
||||||
public:
|
public:
|
||||||
AutoIdArray(JSContext *cx, JSIdArray *ida
|
AutoIdArray(JSContext *cx, JSIdArray *ida JS_GUARD_OBJECT_NOTIFIER_PARAM)
|
||||||
JS_GUARD_OBJECT_NOTIFIER_PARAM)
|
: AutoGCRooter(cx, IDARRAY), idArray(ida)
|
||||||
: AutoGCRooter(cx, ida ? ida->length : 0), idArray(ida)
|
|
||||||
{
|
{
|
||||||
JS_GUARD_OBJECT_NOTIFIER_INIT;
|
JS_GUARD_OBJECT_NOTIFIER_INIT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user