Bug 493025. Don't assert if we happen to do bitblit scroll analysis on some frames that are dirty because a reflow got interrupted. r+sr=roc

This commit is contained in:
Boris Zbarsky 2009-05-14 21:40:29 -04:00
Родитель 9edb17c764
Коммит 1b525d3237
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1217,6 +1217,8 @@ nsLayoutUtils::ComputeRepaintRegionForCopy(nsIFrame* aRootFrame,
NS_ASSERTION(aRootFrame != aMovingFrame,
"The root frame shouldn't be the one that's moving, that makes no sense");
nsAutoDisableGetUsedXAssertions disableAssert;
// Build the 'after' display list over the whole area of interest.
// (We have to build the 'after' display list because the frame/view
// hierarchy has already been updated for the move.