Bug 1277129 Part 5c - Rename nsHTMLReflowMetrics to ReflowOutput. r=dbaron
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "nsHTMLReflowMetrics" "ReflowOutput"
MozReview-Commit-ID: 2HBb7DkooH5
This commit is contained in:
@@ -485,7 +485,7 @@ nsTextControlFrame::ComputeAutoSize(nsRenderingContext *aRenderingContext,
|
||||
|
||||
void
|
||||
nsTextControlFrame::Reflow(nsPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
ReflowOutput& aDesiredSize,
|
||||
const ReflowInput& aReflowState,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
@@ -544,7 +544,7 @@ nsTextControlFrame::ReflowTextControlChild(nsIFrame* aKid,
|
||||
nsPresContext* aPresContext,
|
||||
const ReflowInput& aReflowState,
|
||||
nsReflowStatus& aStatus,
|
||||
nsHTMLReflowMetrics& aParentDesiredSize)
|
||||
ReflowOutput& aParentDesiredSize)
|
||||
{
|
||||
// compute available size and frame offsets for child
|
||||
WritingMode wm = aKid->GetWritingMode();
|
||||
@@ -568,7 +568,7 @@ nsTextControlFrame::ReflowTextControlChild(nsIFrame* aKid,
|
||||
aReflowState.ComputedPhysicalPadding().top;
|
||||
|
||||
// reflow the child
|
||||
nsHTMLReflowMetrics desiredSize(aReflowState);
|
||||
ReflowOutput desiredSize(aReflowState);
|
||||
ReflowChild(aKid, aPresContext, desiredSize, kidReflowState,
|
||||
xOffset, yOffset, 0, aStatus);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user