Bug 773100 - Invalidate the frame bounds instead of deleting the frame property. r=roc

This commit is contained in:
Matt Woodrow
2012-07-18 14:56:42 -04:00
parent 72e729bad0
commit 6d52eb37a0

View File

@@ -2305,7 +2305,7 @@ InternalInvalidateThebesLayersInSubtree(nsIFrame* aFrame)
if (aFrame->GetStateBits() & NS_FRAME_HAS_CONTAINER_LAYER) {
// Delete the invalid region to indicate that all Thebes contents
// need to be invalidated
aFrame->Properties().Delete(ThebesLayerInvalidRegionProperty());
FrameLayerBuilder::InvalidateThebesLayerContents(aFrame, aFrame->GetVisualOverflowRectRelativeToSelf());
foundContainerLayer = true;
}