зеркало из https://github.com/mozilla/gecko-dev.git
Bug 573127. Adjust the assert slightly to make it match reality. r=dbaron
This commit is contained in:
Родитель
753e4b833b
Коммит
3b2dfcc6cd
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче