Bug 957391 - Call nsIFrame::SchedulePaint() in ImageLoader::DoRedraw(). r=mattwoodrow

This commit is contained in:
Sotaro Ikeda 2014-02-10 09:34:11 -05:00
parent 0aa9a26f64
commit 668cb0f47f

View File

@ -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();
}
}
}