mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 883416 (Part 1) - Revert bug 851416. r=dholbert
--HG-- extra : rebase_source : 47dae82941038ff7f79f15aee50194276f617f9b
This commit is contained in:
parent
fa33d67667
commit
d4a815fa8d
@ -84,16 +84,11 @@ protected:
|
||||
}
|
||||
|
||||
mVectorImage->InvalidateObserver();
|
||||
|
||||
// We may have been removed from the observer list by our caller. Rather
|
||||
// than add ourselves back here, we wait until Draw gets called, ensuring
|
||||
// that we coalesce invalidations between Draw calls.
|
||||
} else {
|
||||
// Here we may also have been removed from the observer list, but since
|
||||
// we're not sending an invalidation, Draw won't get called. We need to
|
||||
// add ourselves back immediately.
|
||||
ResumeListening();
|
||||
}
|
||||
|
||||
// We may have been removed from the observer list by our caller. Rather
|
||||
// than add ourselves back here, we wait until Draw gets called, ensuring
|
||||
// that we coalesce invalidations between Draw calls.
|
||||
}
|
||||
|
||||
// Private data
|
||||
|
Loading…
Reference in New Issue
Block a user