mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 807472. Pass WILL_SEND_DID_PAINT when calling PresShell::Paint with PAINT_COMPOSITE. r=mattwoodrow
This commit is contained in:
parent
6a3039a63c
commit
ecae7aec52
@ -363,14 +363,10 @@ void nsViewManager::Refresh(nsView *aView, const nsIntRegion& aRegion,
|
||||
#ifdef DEBUG_INVALIDATIONS
|
||||
printf("--COMPOSITE-- %p\n", mPresShell);
|
||||
#endif
|
||||
if (IsRefreshDriverPaintingEnabled()) {
|
||||
mPresShell->Paint(aView, damageRegion, nsIPresShell::PAINT_COMPOSITE);
|
||||
} else {
|
||||
mPresShell->Paint(aView, damageRegion,
|
||||
nsIPresShell::PAINT_LAYERS |
|
||||
nsIPresShell::PAINT_COMPOSITE |
|
||||
(aWillSendDidPaint ? nsIPresShell::PAINT_WILL_SEND_DID_PAINT : 0));
|
||||
}
|
||||
mPresShell->Paint(aView, damageRegion,
|
||||
(IsRefreshDriverPaintingEnabled() ? 0 : nsIPresShell::PAINT_LAYERS) |
|
||||
nsIPresShell::PAINT_COMPOSITE |
|
||||
(aWillSendDidPaint ? nsIPresShell::PAINT_WILL_SEND_DID_PAINT : 0));
|
||||
#ifdef DEBUG_INVALIDATIONS
|
||||
printf("--ENDCOMPOSITE--\n");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user