mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 13:02:57 +00:00
fixing crasher due to outbounds index in nsCSSStyleSheet.cpp; b=151198, r=brade, sr=jst
This commit is contained in:
parent
d217f231ad
commit
2bc07ba87c
@ -2470,7 +2470,7 @@ static void
|
||||
ListRules(nsISupportsArray* aRules, FILE* aOut, PRInt32 aIndent)
|
||||
{
|
||||
PRUint32 count;
|
||||
PRUint32 index;
|
||||
PRInt32 index;
|
||||
if (aRules) {
|
||||
aRules->Count(&count);
|
||||
for (index = count - 1; index >= 0; --index) {
|
||||
|
@ -2470,7 +2470,7 @@ static void
|
||||
ListRules(nsISupportsArray* aRules, FILE* aOut, PRInt32 aIndent)
|
||||
{
|
||||
PRUint32 count;
|
||||
PRUint32 index;
|
||||
PRInt32 index;
|
||||
if (aRules) {
|
||||
aRules->Count(&count);
|
||||
for (index = count - 1; index >= 0; --index) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user