Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1775495 - Avoid trigger extra async image decodes when sync decod…
…es are requested. r=jrmuizel When we request a sync decode, if there is an outstanding pending async decode, but we don't have all the network data, we would end up triggering an extra async decode. This patch ensures that we only trigger sync decodes if they will actually execute as sync. Differential Revision: https://phabricator.services.mozilla.com/D150008
- Loading branch information