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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user