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:
@@ -52,7 +52,7 @@ nsPageFrame::~nsPageFrame()
|
||||
void
|
||||
nsPageFrame::Reflow(nsPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
const ReflowInput& aReflowState,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
MarkInReflow();
|
||||
@@ -94,7 +94,7 @@ nsPageFrame::Reflow(nsPresContext* aPresContext,
|
||||
return;
|
||||
}
|
||||
|
||||
nsHTMLReflowState kidReflowState(aPresContext, aReflowState, frame,
|
||||
ReflowInput kidReflowState(aPresContext, aReflowState, frame,
|
||||
LogicalSize(frame->GetWritingMode(),
|
||||
maxSize));
|
||||
kidReflowState.mFlags.mIsTopOfPage = true;
|
||||
@@ -709,7 +709,7 @@ nsPageBreakFrame::GetIntrinsicBSize()
|
||||
void
|
||||
nsPageBreakFrame::Reflow(nsPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
const ReflowInput& aReflowState,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
DO_GLOBAL_REFLOW_COUNT("nsPageBreakFrame");
|
||||
|
||||
Reference in New Issue
Block a user