Bug 558675.

This commit is contained in:
Ben Turner 2010-04-11 15:05:07 -07:00
parent 2be5f62bd9
commit 50d613eab8

View File

@ -1855,9 +1855,8 @@ class AutoIdRooter : private AutoGCRooter
class AutoIdArray : private AutoGCRooter {
public:
AutoIdArray(JSContext *cx, JSIdArray *ida
JS_GUARD_OBJECT_NOTIFIER_PARAM)
: AutoGCRooter(cx, ida ? ida->length : 0), idArray(ida)
AutoIdArray(JSContext *cx, JSIdArray *ida JS_GUARD_OBJECT_NOTIFIER_PARAM)
: AutoGCRooter(cx, IDARRAY), idArray(ida)
{
JS_GUARD_OBJECT_NOTIFIER_INIT;
}