mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 853628 - Make nsMenuItemIconX wait for DECODE_COMPLETE instead of LOAD_COMPELTE so the History and Bookmarks menu favicons work. r=smichaud
This commit is contained in:
parent
7da79436e5
commit
f1315f17ae
@ -339,7 +339,7 @@ nsMenuItemIconX::Notify(imgIRequest *aRequest, int32_t aType, const nsIntRect* a
|
||||
return OnStopFrame(aRequest);
|
||||
}
|
||||
|
||||
if (aType == imgINotificationObserver::LOAD_COMPLETE) {
|
||||
if (aType == imgINotificationObserver::DECODE_COMPLETE) {
|
||||
if (mIconRequest && mIconRequest == aRequest) {
|
||||
mIconRequest->Cancel(NS_BINDING_ABORTED);
|
||||
mIconRequest = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user