Bug 1100725 (Part 3) - Take invalidations after decoder shutdown in FinishedSomeDecoding. r=tn

This commit is contained in:
Seth Fowler 2014-11-18 01:48:49 -08:00
Родитель f79d8bad3b
Коммит 19bf07bbcc
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -2966,7 +2966,8 @@ RasterImage::FinishedSomeDecoding(eShutdownIntent aIntent /* = eShutdownIntent_D
image->DoError(); image->DoError();
} }
// If there were any final progress changes, grab them. // If there were any final changes, grab them.
invalidRect.Union(decoder->TakeInvalidRect());
progress |= decoder->GetProgress(); progress |= decoder->GetProgress();
} }
} }