Bug 926779 - Do not try to mark null TypedArrays; r=efaust

This commit is contained in:
Terrence Cole 2013-10-28 09:37:58 -07:00
parent 0286780f30
commit 9d043da8c4

View File

@ -33,7 +33,9 @@ protected:
public:
inline void TraceSelf(JSTracer* trc)
{
JS_CallObjectTracer(trc, &mObj, "TypedArray.mObj");
if (mObj) {
JS_CallObjectTracer(trc, &mObj, "TypedArray.mObj");
}
}
private: