зеркало из 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.widget = this;
|
||||||
pevent.eventStructType = NS_PAINT_EVENT;
|
pevent.eventStructType = NS_PAINT_EVENT;
|
||||||
pevent.rect = new nsRect (mBounds.x, mBounds.y,
|
pevent.rect = new nsRect (mBounds.x, mBounds.y,
|
||||||
mBounds.height, mBounds.width);
|
mBounds.width, mBounds.height);
|
||||||
// XXX fix this
|
// XXX fix this
|
||||||
pevent.time = 0;
|
pevent.time = 0;
|
||||||
AddRef();
|
AddRef();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче