Bug 795611 - Call virtual InvalidateFrame from InvalidateFrameSubtree since nsTable*Frame overloads it. r=cjones

This commit is contained in:
Matt Woodrow 2012-09-30 19:20:25 +13:00
parent ca71a58ed9
commit 3a3192fe2c

View File

@ -4801,7 +4801,7 @@ nsIFrame::InvalidateFrameSubtree(uint32_t aDisplayItemKey)
{
bool hasDisplayItem =
!aDisplayItemKey || FrameLayerBuilder::HasRetainedDataFor(this, aDisplayItemKey);
InvalidateFrameInternal(this, hasDisplayItem);
InvalidateFrame(aDisplayItemKey);
if (HasAnyStateBits(NS_FRAME_ALL_DESCENDANTS_NEED_PAINT) || !hasDisplayItem) {
return;