mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 863975 - Handle the situation that we're left mid-frame when decoding a multi-frame image. r=seth
--HG-- extra : rebase_source : e485eb48a615f3e35e4e5592d0f37604402142f8
This commit is contained in:
parent
ae4fe518b8
commit
a0b4c1afc0
@ -163,6 +163,9 @@ Decoder::Finish(RasterImage::eShutdownIntent aShutdownIntent)
|
||||
// If we're usable, do exactly what we should have when the decoder
|
||||
// completed.
|
||||
if (usable) {
|
||||
if (mInFrame) {
|
||||
PostFrameStop();
|
||||
}
|
||||
PostDecodeDone();
|
||||
} else {
|
||||
if (mObserver) {
|
||||
|
Loading…
Reference in New Issue
Block a user