mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 799165 - Don't revoke a view manager flush on PresShell destruction if we don't own the refresh driver. r=roc
This commit is contained in:
parent
899abd3ff8
commit
189a77c698
@ -1062,7 +1062,9 @@ PresShell::Destroy()
|
||||
mHiddenInvalidationObserverRefreshDriver->RemovePresShellToInvalidateIfHidden(this);
|
||||
}
|
||||
|
||||
rd->RevokeViewManagerFlush();
|
||||
if (rd->PresContext() == GetPresContext()) {
|
||||
rd->RevokeViewManagerFlush();
|
||||
}
|
||||
|
||||
mResizeEvent.Revoke();
|
||||
if (mAsyncResizeTimerIsActive) {
|
||||
|
Loading…
Reference in New Issue
Block a user