Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. 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 nsHTMLReflowState ReflowInput

MozReview-Commit-ID: 9r9vdVv1pXc
This commit is contained in:
Ting-Yu Lin
2016-07-21 18:36:35 +08:00
parent 216cc0ba39
commit 10912a51e3
160 changed files with 686 additions and 686 deletions

View File

@@ -92,7 +92,7 @@ nsRubyFrame::AddInlinePrefISize(nsRenderingContext *aRenderingContext,
/* virtual */ void
nsRubyFrame::Reflow(nsPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsHTMLReflowState& aReflowState,
const ReflowInput& aReflowState,
nsReflowStatus& aStatus)
{
MarkInReflow();
@@ -167,7 +167,7 @@ nsRubyFrame::Reflow(nsPresContext* aPresContext,
void
nsRubyFrame::ReflowSegment(nsPresContext* aPresContext,
const nsHTMLReflowState& aReflowState,
const ReflowInput& aReflowState,
nsRubyBaseContainerFrame* aBaseContainer,
nsReflowStatus& aStatus)
{
@@ -272,7 +272,7 @@ nsRubyFrame::ReflowSegment(nsPresContext* aPresContext,
WritingMode rtcWM = textContainer->GetWritingMode();
nsReflowStatus textReflowStatus;
nsHTMLReflowMetrics textMetrics(aReflowState);
nsHTMLReflowState textReflowState(aPresContext, aReflowState, textContainer,
ReflowInput textReflowState(aPresContext, aReflowState, textContainer,
availSize.ConvertTo(rtcWM, lineWM));
// FIXME We probably shouldn't be using the same nsLineLayout for
// the text containers. But it should be fine now as we are