зеркало из https://github.com/mozilla/gecko-dev.git
Fix clipping problem in nsWindow::Invalidate(). This problem was showing up when using the scrollbar to page up and down. This is not part of the build.
This commit is contained in:
Родитель
2739f83b22
Коммит
5064350158
|
@ -79,7 +79,7 @@ NS_IMETHODIMP nsWindow::Invalidate(PRBool aIsSynchronous)
|
|||
pevent.widget = this;
|
||||
pevent.eventStructType = NS_PAINT_EVENT;
|
||||
pevent.rect = new nsRect (mBounds.x, mBounds.y,
|
||||
mBounds.height, mBounds.width);
|
||||
mBounds.width, mBounds.height);
|
||||
// XXX fix this
|
||||
pevent.time = 0;
|
||||
AddRef();
|
||||
|
|
Загрузка…
Ссылка в новой задаче