Backing out previous revision (b=420420) due to reftest hang on qm-centos5-01

This commit is contained in:
karlt+%karlt.net 2008-03-07 00:14:56 +00:00
Родитель 9d02555d76
Коммит 85efb8dbc5
1 изменённых файлов: 6 добавлений и 9 удалений

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

@ -758,15 +758,12 @@ nsMathMLmoFrame::Stretch(nsIRenderingContext& aRenderingContext,
}
}
// Child frames of invisble operators are not reflowed
if (!NS_MATHML_OPERATOR_IS_INVISIBLE(mFlags)) {
// Place our children using the default method
// This will allow our child text frame to get its DidReflow()
nsresult rv = Place(aRenderingContext, PR_TRUE, aDesiredStretchSize);
if (NS_MATHML_HAS_ERROR(mPresentationData.flags) || NS_FAILED(rv)) {
// Make sure the child frames get their DidReflow() calls.
DidReflowChildren(mFrames.FirstChild());
}
// Place our children using the default method
// This will allow our child text frame to get its DidReflow()
nsresult rv = Place(aRenderingContext, PR_TRUE, aDesiredStretchSize);
if (NS_MATHML_HAS_ERROR(mPresentationData.flags) || NS_FAILED(rv)) {
// Make sure the child frames get their DidReflow() calls.
DidReflowChildren(mFrames.FirstChild());
}
if (useMathMLChar) {