mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1133356 - Expand macro in OnImageAvailable to avoid checking NotificationsDeferred. r=roc
This commit is contained in:
parent
1a64e6def9
commit
cde1d90f5f
@ -501,7 +501,14 @@ ProgressTracker::OnImageAvailable()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
NOTIFY_IMAGE_OBSERVERS(mObservers, SetHasImage());
|
// Notify any imgRequestProxys that are observing us that we have an Image.
|
||||||
|
ObserverArray::ForwardIterator iter(mObservers);
|
||||||
|
while (iter.HasMore()) {
|
||||||
|
nsRefPtr<IProgressObserver> observer = iter.GetNext().get();
|
||||||
|
if (observer) {
|
||||||
|
observer->SetHasImage();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user