mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 587539. When we get a paint event for a widget in a disconnected view subtree there isn't a display root widget. r=roc
This commit is contained in:
parent
b7b5763383
commit
fcaca91e69
@ -1396,7 +1396,7 @@ nsLayoutUtils::PaintFrame(nsIRenderingContext* aRenderingContext, nsIFrame* aFra
|
||||
// paint in a window, so make sure we flush out any retained layer
|
||||
// trees before *and after* we draw
|
||||
flags |= nsDisplayList::PAINT_FLUSH_LAYERS;
|
||||
} else {
|
||||
} else if (widget) {
|
||||
// XXX we should simplify this API now that dirtyWindowRegion always
|
||||
// covers the entire window
|
||||
widget->UpdatePossiblyTransparentRegion(dirtyWindowRegion, visibleWindowRegion);
|
||||
|
Loading…
Reference in New Issue
Block a user