From 19bf07bbcc5c3b1df4439e42b32bef4329297612 Mon Sep 17 00:00:00 2001 From: Seth Fowler Date: Tue, 18 Nov 2014 01:48:49 -0800 Subject: [PATCH] Bug 1100725 (Part 3) - Take invalidations after decoder shutdown in FinishedSomeDecoding. r=tn --- image/src/RasterImage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/image/src/RasterImage.cpp b/image/src/RasterImage.cpp index 76a9e47f0887..1a58e3fe8bbe 100644 --- a/image/src/RasterImage.cpp +++ b/image/src/RasterImage.cpp @@ -2966,7 +2966,8 @@ RasterImage::FinishedSomeDecoding(eShutdownIntent aIntent /* = eShutdownIntent_D 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(); } }