diff --git a/layout/html/forms/src/nsInputFile.cpp b/layout/html/forms/src/nsInputFile.cpp
index 39bbae8bbc6..39218c81967 100644
--- a/layout/html/forms/src/nsInputFile.cpp
+++ b/layout/html/forms/src/nsInputFile.cpp
@@ -141,7 +141,6 @@ NS_IMETHODIMP nsInputFileFrame::Reflow(nsIPresContext& aPresContext,
NS_ASSERTION(NS_FRAME_IS_COMPLETE(aStatus), "bad status");
nsRect rect(offset.x, offset.y, desiredSize.width, desiredSize.height);
childFrame->SetRect(rect);
- childFrame->DidReflow(aPresContext, NS_FRAME_REFLOW_FINISHED);
maxSize.width -= desiredSize.width;
aDesiredSize.width += desiredSize.width;
aDesiredSize.height = desiredSize.height;