diff --git a/layout/svg/base/src/nsSVGForeignObjectFrame.cpp b/layout/svg/base/src/nsSVGForeignObjectFrame.cpp index 8c2d6d7c63f6..7f1fc7e033f5 100644 --- a/layout/svg/base/src/nsSVGForeignObjectFrame.cpp +++ b/layout/svg/base/src/nsSVGForeignObjectFrame.cpp @@ -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); }