Bug 573127. Adjust the assert slightly to make it match reality. r=dbaron

This commit is contained in:
Boris Zbarsky 2010-06-23 00:47:23 -04:00
Родитель 753e4b833b
Коммит 3b2dfcc6cd
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -108,7 +108,8 @@ CollectRestyles(nsISupports* aElement,
NS_ASSERTION(!element->HasFlag(collector->tracker->RootBit()) ||
// Maybe we're just not reachable via the frame tree?
(element->GetFlattenedTreeParent() &&
!element->GetFlattenedTreeParent()->GetPrimaryFrame()) ||
(!element->GetFlattenedTreeParent()->GetPrimaryFrame()||
element->GetFlattenedTreeParent()->GetPrimaryFrame()->IsLeaf())) ||
// Or not reachable due to an async reinsert we have
// pending? If so, we'll have a reframe hint around.
// That incidentally makes it safe that we still have