mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
bug 11312: fixed Invalidate() of entire bounds, need to use (0, 0)-based rectangle.
This commit is contained in:
parent
c577423b50
commit
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user