зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b2072bf1a1
Коммит
685cf0434c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче