mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1150534 - Synchronously decode favicons before calling GetFrame. r=tn
This commit is contained in:
parent
71dd103267
commit
88d81c70d9
@ -1156,7 +1156,9 @@ AsyncFaviconDataReady::OnComplete(nsIURI *aFaviconURI,
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
RefPtr<SourceSurface> surface =
|
||||
container->GetFrame(imgIContainer::FRAME_FIRST, 0);
|
||||
container->GetFrame(imgIContainer::FRAME_FIRST,
|
||||
imgIContainer::FLAG_SYNC_DECODE |
|
||||
imgIContainer::FLAG_ASYNC_NOTIFY);
|
||||
NS_ENSURE_TRUE(surface, NS_ERROR_FAILURE);
|
||||
|
||||
RefPtr<DataSourceSurface> dataSurface;
|
||||
|
Loading…
Reference in New Issue
Block a user