From f742a8d13f4f0760e85d488cd1a1170846cbc5db Mon Sep 17 00:00:00 2001 From: "karlt+@karlt.net" Date: Thu, 6 Mar 2008 16:14:56 -0800 Subject: [PATCH] Backing out previous revision (b=420420) due to reftest hang on qm-centos5-01 --- layout/mathml/base/src/nsMathMLmoFrame.cpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/layout/mathml/base/src/nsMathMLmoFrame.cpp b/layout/mathml/base/src/nsMathMLmoFrame.cpp index 84a792163a4..176dc4fcb3a 100644 --- a/layout/mathml/base/src/nsMathMLmoFrame.cpp +++ b/layout/mathml/base/src/nsMathMLmoFrame.cpp @@ -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) {