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:
@@ -820,7 +820,7 @@ void
|
||||
nsMathMLContainerFrame::ReflowChild(nsIFrame* aChildFrame,
|
||||
nsPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
const ReflowInput& aReflowState,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
// Having foreign/hybrid children, e.g., from html markups, is not defined by
|
||||
@@ -869,7 +869,7 @@ nsMathMLContainerFrame::ReflowChild(nsIFrame* aChildFrame,
|
||||
void
|
||||
nsMathMLContainerFrame::Reflow(nsPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
const ReflowInput& aReflowState,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
MarkInReflow();
|
||||
@@ -890,7 +890,7 @@ nsMathMLContainerFrame::Reflow(nsPresContext* aPresContext,
|
||||
WritingMode wm = childFrame->GetWritingMode();
|
||||
LogicalSize availSize = aReflowState.ComputedSize(wm);
|
||||
availSize.BSize(wm) = NS_UNCONSTRAINEDSIZE;
|
||||
nsHTMLReflowState childReflowState(aPresContext, aReflowState,
|
||||
ReflowInput childReflowState(aPresContext, aReflowState,
|
||||
childFrame, availSize);
|
||||
ReflowChild(childFrame, aPresContext, childDesiredSize,
|
||||
childReflowState, childStatus);
|
||||
|
||||
Reference in New Issue
Block a user