зеркало из https://github.com/mozilla/pjs.git
Fix mac bustage.
This commit is contained in:
Родитель
086f4230ae
Коммит
e0cfd827ae
|
@ -1447,7 +1447,8 @@ nsDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray* aN
|
||||||
PRUint32 oldCount;
|
PRUint32 oldCount;
|
||||||
aOldSheets->Count(&oldCount);
|
aOldSheets->Count(&oldCount);
|
||||||
nsCOMPtr<nsIStyleSheet> sheet;
|
nsCOMPtr<nsIStyleSheet> sheet;
|
||||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
PRUint32 i;
|
||||||
|
for (i = 0; i < oldCount; i++) {
|
||||||
nsCOMPtr<nsISupports> supp;
|
nsCOMPtr<nsISupports> supp;
|
||||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||||
sheet = do_QueryInterface(supp);
|
sheet = do_QueryInterface(supp);
|
||||||
|
|
|
@ -1168,7 +1168,8 @@ nsXULDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray*
|
||||||
PRUint32 oldCount;
|
PRUint32 oldCount;
|
||||||
aOldSheets->Count(&oldCount);
|
aOldSheets->Count(&oldCount);
|
||||||
nsCOMPtr<nsIStyleSheet> sheet;
|
nsCOMPtr<nsIStyleSheet> sheet;
|
||||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
PRUint32 i;
|
||||||
|
for (i = 0; i < oldCount; i++) {
|
||||||
nsCOMPtr<nsISupports> supp;
|
nsCOMPtr<nsISupports> supp;
|
||||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||||
sheet = do_QueryInterface(supp);
|
sheet = do_QueryInterface(supp);
|
||||||
|
|
|
@ -1447,7 +1447,8 @@ nsDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray* aN
|
||||||
PRUint32 oldCount;
|
PRUint32 oldCount;
|
||||||
aOldSheets->Count(&oldCount);
|
aOldSheets->Count(&oldCount);
|
||||||
nsCOMPtr<nsIStyleSheet> sheet;
|
nsCOMPtr<nsIStyleSheet> sheet;
|
||||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
PRUint32 i;
|
||||||
|
for (i = 0; i < oldCount; i++) {
|
||||||
nsCOMPtr<nsISupports> supp;
|
nsCOMPtr<nsISupports> supp;
|
||||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||||
sheet = do_QueryInterface(supp);
|
sheet = do_QueryInterface(supp);
|
||||||
|
|
|
@ -1168,7 +1168,8 @@ nsXULDocument::UpdateStyleSheets(nsISupportsArray* aOldSheets, nsISupportsArray*
|
||||||
PRUint32 oldCount;
|
PRUint32 oldCount;
|
||||||
aOldSheets->Count(&oldCount);
|
aOldSheets->Count(&oldCount);
|
||||||
nsCOMPtr<nsIStyleSheet> sheet;
|
nsCOMPtr<nsIStyleSheet> sheet;
|
||||||
for (PRUint32 i = 0; i < oldCount; i++) {
|
PRUint32 i;
|
||||||
|
for (i = 0; i < oldCount; i++) {
|
||||||
nsCOMPtr<nsISupports> supp;
|
nsCOMPtr<nsISupports> supp;
|
||||||
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
aOldSheets->GetElementAt(i, getter_AddRefs(supp));
|
||||||
sheet = do_QueryInterface(supp);
|
sheet = do_QueryInterface(supp);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче