зеркало из https://github.com/mozilla/pjs.git
Only print the FIXME:: repaint messages on debug builds as we're still not sure if it is needed.
This commit is contained in:
Родитель
2dd24b480a
Коммит
34746204aa
|
@ -936,8 +936,10 @@ NS_METHOD nsWindow::Resize(PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
|
||||||
if(mustunlock && mView->Parent() == 0)
|
if(mustunlock && mView->Parent() == 0)
|
||||||
havewindow = true;
|
havewindow = true;
|
||||||
|
|
||||||
|
#ifdef MOZ_DEBUG
|
||||||
if(! aRepaint)
|
if(! aRepaint)
|
||||||
printf("nsWindow::Resize FIXME: no repaint not implemented\n");
|
printf("nsWindow::Resize FIXME: no repaint not implemented\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
if(mView->Parent() || ! havewindow)
|
if(mView->Parent() || ! havewindow)
|
||||||
mView->ResizeTo(aWidth-1, GetHeight(aHeight)-1);
|
mView->ResizeTo(aWidth-1, GetHeight(aHeight)-1);
|
||||||
|
@ -988,8 +990,10 @@ NS_METHOD nsWindow::Resize(PRInt32 aX,
|
||||||
if(mustunlock && mView->Parent() == 0)
|
if(mustunlock && mView->Parent() == 0)
|
||||||
havewindow = true;
|
havewindow = true;
|
||||||
|
|
||||||
|
#ifdef MOZ_DEBUG
|
||||||
if(! aRepaint)
|
if(! aRepaint)
|
||||||
printf("nsWindow::Resize FIXME: no repaint not implemented\n");
|
printf("nsWindow::Resize FIXME: no repaint not implemented\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
if(mView->Parent() || ! havewindow)
|
if(mView->Parent() || ! havewindow)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче