mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 910533 - Clear invalidation rect only after sync notifying in imgStatusTracker. r=tn
--HG-- extra : rebase_source : d373b3c4ccc747e9afef3c1bbdb8e522b7724b10
This commit is contained in:
parent
c933798c3a
commit
61361a6912
@ -499,9 +499,11 @@ imgStatusTracker::SyncNotifyDifference(const ImageStatusDiff& diff)
|
||||
LOG_SCOPE(GetImgLog(), "imgStatusTracker::SyncNotifyDifference");
|
||||
|
||||
nsIntRect invalidRect = mInvalidRect.Union(diff.invalidRect);
|
||||
mInvalidRect.SetEmpty();
|
||||
|
||||
SyncNotifyState(mConsumers, !!mImage, diff.diffState, invalidRect, mHadLastPart);
|
||||
|
||||
mInvalidRect.SetEmpty();
|
||||
|
||||
if (diff.unblockedOnload) {
|
||||
nsTObserverArray<imgRequestProxy*>::ForwardIterator iter(mConsumers);
|
||||
while (iter.HasMore()) {
|
||||
|
Loading…
Reference in New Issue
Block a user