Backing out last checkin to fix reftest failures. See bug 381285.

This commit is contained in:
jwatt@jwatt.org 2007-07-22 16:22:34 -07:00
parent a487d5944f
commit 17b1bdf0c7

View File

@ -512,6 +512,7 @@ void nsSVGForeignObjectFrame::RequestReflow(nsIPresShell::IntrinsicDirty aType)
if (!kid)
return;
/* commenting out to fix reftest failure - see bug 381285
// If we're called while the PresShell is handling reflow events we must do
// the reflow synchronously here and now. Calling FrameNeedsReflow could
// confuse the PresShell and prevent us from being reflowed correctly in
@ -526,6 +527,7 @@ void nsSVGForeignObjectFrame::RequestReflow(nsIPresShell::IntrinsicDirty aType)
}
return;
}
*/
PresContext()->PresShell()->FrameNeedsReflow(kid, aType, NS_FRAME_IS_DIRTY);
}