Minor tweak to patch for bug 241972. Change mShouldCloseWindow to a PRPackedBool, to be consistent with the other bools around it. r=cbiesinger

This commit is contained in:
marria%gmail.com 2006-07-06 18:41:16 +00:00
Родитель b2072bf1a1
Коммит 685cf0434c
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -1618,8 +1618,10 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest *request, nsISuppo
// Determine whether a new window was opened specifically for this request
if (props) {
PRBool tmp = PR_FALSE;
props->GetPropertyAsBool(NS_LITERAL_STRING("docshell.newWindowTarget"),
&mShouldCloseWindow);
&tmp);
mShouldCloseWindow = tmp;
}
// Now get the URI

Просмотреть файл

@ -378,7 +378,7 @@ protected:
* was opened specifically for this download. If so, then we
* close it.
*/
PRBool mShouldCloseWindow;
PRPackedBool mShouldCloseWindow;
/**
* have we received information from the user about how they want to