зеркало из https://github.com/mozilla/pjs.git
Fix crash bug 223064. Patch by mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
This commit is contained in:
Родитель
f42474cb71
Коммит
e21a5aa43b
|
@ -868,6 +868,8 @@ nsHTMLReflowState::CalculateHypotheticalBox(nsIPresContext* aPresContext,
|
|||
aPresContext->GetCompatibilityMode(&mode);
|
||||
while (firstFrame != aPlaceholderFrame) {
|
||||
NS_ASSERTION(firstFrame, "Must reach our placeholder before end of list!");
|
||||
if (!firstFrame) // This can be removed when we split out-of-flow
|
||||
break; // frames correctly, see bug 223064
|
||||
PRBool isEmpty;
|
||||
firstFrame->IsEmpty(mode,
|
||||
firstFrame->GetStyleText()->WhiteSpaceIsSignificant(),
|
||||
|
|
|
@ -868,6 +868,8 @@ nsHTMLReflowState::CalculateHypotheticalBox(nsIPresContext* aPresContext,
|
|||
aPresContext->GetCompatibilityMode(&mode);
|
||||
while (firstFrame != aPlaceholderFrame) {
|
||||
NS_ASSERTION(firstFrame, "Must reach our placeholder before end of list!");
|
||||
if (!firstFrame) // This can be removed when we split out-of-flow
|
||||
break; // frames correctly, see bug 223064
|
||||
PRBool isEmpty;
|
||||
firstFrame->IsEmpty(mode,
|
||||
firstFrame->GetStyleText()->WhiteSpaceIsSignificant(),
|
||||
|
|
Загрузка…
Ссылка в новой задаче