-
- Downloads
Bug 1400442 - Annotate border colors array as being thread-owned by container, r=bhackett
nsStyleStruct has the field: nsBorderColors** mBorderColors; It starts out nullptr, and when it is needed, it allocates an array of 4 nsBorderColors pointers. But the nsStyleStruct exclusively owns the array; nothing else can get at it. This change teaches the analysis that if 'this' is a safe nsStyleStruct*, then it should treat mBorderColors as if it were an inline length-4 array. --HG-- extra : rebase_source : e9d4a550a728e403b3bb30e7dd61341c2680962d
Please register or sign in to comment