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

This commit is contained in:
Matt Woodrow 2012-07-16 22:28:44 -04:00
parent 0e69a851fa
commit 15320ad1ad

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());
InvalidateThebesLayerContents(aFrame, aFrame->GetVisualOverflowRectRelativeToSelf());
foundContainerLayer = true;
}