зеркало из https://github.com/mozilla/gecko-dev.git
Fix assertion in bug 468645, per bzbarsky's followup review comment. r+sr=bzbarsky
This commit is contained in:
Родитель
5a85fdc990
Коммит
4d4096952f
|
@ -1112,7 +1112,8 @@ nsFrameManager::ReResolveStyleContext(nsPresContext *aPresContext,
|
|||
nsStyleChangeList *aChangeList,
|
||||
nsChangeHint aMinChange)
|
||||
{
|
||||
NS_ASSERTION(aFrame->GetContent() || !aFrame->GetParent(),
|
||||
NS_ASSERTION(aFrame->GetContent() ||
|
||||
(!aFrame->GetParent() && !aParentContent),
|
||||
"frame must have content (unless viewport)");
|
||||
// XXXldb get new context from prev-in-flow if possible, to avoid
|
||||
// duplication. (Or should we just let |GetContext| handle that?)
|
||||
|
|
Загрузка…
Ссылка в новой задаче