mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 19:10:36 +00:00
Changed UpdateView() to call Update() to synchronoulsy repaint the
dirty area if NS_VMREFRESH_IMMEDIATE is specified
This commit is contained in:
parent
d03010f3a8
commit
1c06413d95
@ -537,6 +537,9 @@ NS_IMETHODIMP nsViewManager :: UpdateView(nsIView *aView, const nsRect &aRect, P
|
||||
if (aUpdateFlags & NS_VMREFRESH_IMMEDIATE)
|
||||
{
|
||||
Composite();
|
||||
// XXX Composite() should return the top-most view that's dirty so
|
||||
// we don't have to always use the root window...
|
||||
mRootWindow->Update();
|
||||
}
|
||||
// or if a sync paint is allowed and it's time for the compositor to
|
||||
// do a refresh
|
||||
|
Loading…
x
Reference in New Issue
Block a user