From 668cb0f47f7aa6a55eb623f416c3e44e7c7c4068 Mon Sep 17 00:00:00 2001 From: Sotaro Ikeda Date: Mon, 10 Feb 2014 09:34:11 -0500 Subject: [PATCH] Bug 957391 - Call nsIFrame::SchedulePaint() in ImageLoader::DoRedraw(). r=mattwoodrow --- layout/style/ImageLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/style/ImageLoader.cpp b/layout/style/ImageLoader.cpp index 11822183435..77c5fa6c4a5 100644 --- a/layout/style/ImageLoader.cpp +++ b/layout/style/ImageLoader.cpp @@ -322,7 +322,6 @@ void InvalidateImagesCallback(nsIFrame* aFrame, } aItem->Invalidate(); - aFrame->SchedulePaint(); // Update ancestor rendering observers (-moz-element etc) nsIFrame *f = aFrame; @@ -350,6 +349,7 @@ ImageLoader::DoRedraw(FrameSet* aFrameSet) frame->InvalidateFrame(); } else { FrameLayerBuilder::IterateRetainedDataFor(frame, InvalidateImagesCallback); + frame->SchedulePaint(); } } }