From 21a7d74f36463aa74ebf73ba1bbda75e1ce74bb4 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Thu, 8 Nov 2012 17:27:48 -0800 Subject: [PATCH] Bug 806001: Make nsListControlFrame pass a nsDidReflowStatus instead of a nsReflowStatus in its DidReflow calls. r=dbaron --- layout/forms/nsListControlFrame.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layout/forms/nsListControlFrame.cpp b/layout/forms/nsListControlFrame.cpp index 49707a2425cd..25d0f814e783 100644 --- a/layout/forms/nsListControlFrame.cpp +++ b/layout/forms/nsListControlFrame.cpp @@ -465,7 +465,8 @@ nsListControlFrame::Reflow(nsPresContext* aPresContext, // or anything like that? We might need to, per the letter of the reflow // protocol, but things seem to work fine without it... Is that just an // implementation detail of nsHTMLScrollFrame that we're depending on? - nsHTMLScrollFrame::DidReflow(aPresContext, &state, aStatus); + nsHTMLScrollFrame::DidReflow(aPresContext, &state, + NS_FRAME_REFLOW_FINISHED); // Now compute the height we want to have nscoord computedHeight = CalcIntrinsicHeight(HeightOfARow(), length); @@ -546,7 +547,8 @@ nsListControlFrame::ReflowAsDropdown(nsPresContext* aPresContext, // or anything like that? We might need to, per the letter of the reflow // protocol, but things seem to work fine without it... Is that just an // implementation detail of nsHTMLScrollFrame that we're depending on? - nsHTMLScrollFrame::DidReflow(aPresContext, &state, aStatus); + nsHTMLScrollFrame::DidReflow(aPresContext, &state, + NS_FRAME_REFLOW_FINISHED); // Now compute the height we want to have. // Note: no need to apply min/max constraints, since we have no such