зеркало из https://github.com/mozilla/pjs.git
Assert that the nsContinuingTextFrame is not a first continuation. Bug 414760, r+sr=roc
This commit is contained in:
Родитель
01d99133fa
Коммит
807a37da68
|
@ -3270,6 +3270,9 @@ nsContinuingTextFrame::GetFirstContinuation() const
|
|||
nsIFrame *firstContinuation,
|
||||
*previous = const_cast<nsIFrame*>
|
||||
(static_cast<const nsIFrame*>(mPrevContinuation));
|
||||
|
||||
NS_ASSERTION(previous, "How can an nsContinuingTextFrame be the first continuation?");
|
||||
|
||||
do {
|
||||
firstContinuation = previous;
|
||||
previous = firstContinuation->GetPrevContinuation();
|
||||
|
|
Загрузка…
Ссылка в новой задаче