зеркало из https://github.com/mozilla/gecko-dev.git
bug 11312: fixed Invalidate() of entire bounds, need to use (0, 0)-based rectangle.
This commit is contained in:
Родитель
c577423b50
Коммит
3fadca59b0
|
@ -711,7 +711,9 @@ NS_IMETHODIMP nsWindow::Invalidate(const nsRect &aRect, PRBool aIsSynchronous)
|
|||
//-------------------------------------------------------------------------
|
||||
NS_IMETHODIMP nsWindow::Invalidate(PRBool aIsSynchronous)
|
||||
{
|
||||
nsWindow::Invalidate(mBounds, aIsSynchronous);
|
||||
nsRect area = mBounds;
|
||||
area.x = area.y = 0;
|
||||
nsWindow::Invalidate(area, aIsSynchronous);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче