mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fix mac bustage.
This commit is contained in:
parent
ff957c4943
commit
d2920f4ba2
@ -1447,7 +1447,8 @@ nsDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray* aN
|
||||
PRUint32 oldCount;
|
||||
aOldSheets->Count(&oldCount);
|
||||
nsCOMPtr<nsIStyleSheet> sheet;
|
||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
||||
PRUint32 i;
|
||||
for (i = 0; i < oldCount; i++) {
|
||||
nsCOMPtr<nsISupports> supp;
|
||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||
sheet = do_QueryInterface(supp);
|
||||
|
@ -1168,7 +1168,8 @@ nsXULDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray*
|
||||
PRUint32 oldCount;
|
||||
aOldSheets->Count(&oldCount);
|
||||
nsCOMPtr<nsIStyleSheet> sheet;
|
||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
||||
PRUint32 i;
|
||||
for (i = 0; i < oldCount; i++) {
|
||||
nsCOMPtr<nsISupports> supp;
|
||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||
sheet = do_QueryInterface(supp);
|
||||
|
@ -1447,7 +1447,8 @@ nsDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray* aN
|
||||
PRUint32 oldCount;
|
||||
aOldSheets->Count(&oldCount);
|
||||
nsCOMPtr<nsIStyleSheet> sheet;
|
||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
||||
PRUint32 i;
|
||||
for (i = 0; i < oldCount; i++) {
|
||||
nsCOMPtr<nsISupports> supp;
|
||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||
sheet = do_QueryInterface(supp);
|
||||
|
@ -1168,7 +1168,8 @@ nsXULDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray*
|
||||
PRUint32 oldCount;
|
||||
aOldSheets->Count(&oldCount);
|
||||
nsCOMPtr<nsIStyleSheet> sheet;
|
||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
||||
PRUint32 i;
|
||||
for (i = 0; i < oldCount; i++) {
|
||||
nsCOMPtr<nsISupports> supp;
|
||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||
sheet = do_QueryInterface(supp);
|
||||
|
Loading…
Reference in New Issue
Block a user