зеркало из https://github.com/mozilla/gecko-dev.git
Supplementary patch to bug 305384 to fix alerts on GTK1 r+sr=roc
This commit is contained in:
Родитель
2509f6846c
Коммит
8b89471c7d
|
@ -2772,8 +2772,6 @@ NS_IMETHODIMP nsWindow::Resize(PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
|
||||||
// Show(TRUE) will be ignored until a larger resize has happened
|
// Show(TRUE) will be ignored until a larger resize has happened
|
||||||
if (aWidth <= 1 || aHeight <= 1)
|
if (aWidth <= 1 || aHeight <= 1)
|
||||||
{
|
{
|
||||||
aWidth = 1;
|
|
||||||
aHeight = 1;
|
|
||||||
mIsTooSmall = PR_TRUE;
|
mIsTooSmall = PR_TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче