diff --git a/mozilla/layout/xul/base/src/nsTreeRowGroupFrame.cpp b/mozilla/layout/xul/base/src/nsTreeRowGroupFrame.cpp index 07d423a2e76..6ac1947e5c0 100644 --- a/mozilla/layout/xul/base/src/nsTreeRowGroupFrame.cpp +++ b/mozilla/layout/xul/base/src/nsTreeRowGroupFrame.cpp @@ -963,8 +963,11 @@ nsTreeRowGroupFrame::IR_TargetIsChild(nsIPresContext* aPresContext, // Place the child FinishReflowChild(aNextFrame, aPresContext, desiredSize, xpos, 0, 0); - // Return our desired width + // Return our desired width and height + nsRect rect; + GetRect(rect); aDesiredSize.width = aReflowState.reflowState.availableWidth; + aDesiredSize.height = rect.height; if (mNextInFlow) { aStatus = NS_FRAME_NOT_COMPLETE;