warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null. git-svn-id: svn://10.0.0.236/trunk@56308 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -587,7 +587,7 @@ nsWebShell::nsWebShell() : nsDocShell()
|
||||
++gNumberOfWebShells;
|
||||
#endif
|
||||
#ifdef NOISY_WEBSHELL_LEAKS
|
||||
printf("WEBSHELL+ = %d\n", gNumberOfWebShells);
|
||||
printf("WEBSHELL+ = %ld\n", gNumberOfWebShells);
|
||||
#endif
|
||||
|
||||
NS_INIT_REFCNT();
|
||||
@@ -671,7 +671,7 @@ nsWebShell::~nsWebShell()
|
||||
--gNumberOfWebShells;
|
||||
#endif
|
||||
#ifdef NOISY_WEBSHELL_LEAKS
|
||||
printf("WEBSHELL- = %d\n", gNumberOfWebShells);
|
||||
printf("WEBSHELL- = %ld\n", gNumberOfWebShells);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -2129,7 +2129,9 @@ nsWebShell::GoTo(PRInt32 aHistoryIndex)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Goto %d\n", aHistoryIndex);
|
||||
#endif
|
||||
mHistoryIndex = aHistoryIndex;
|
||||
ShowHistory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user