Bug 1277129 Part 7b - Rename various ReflowState variables 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 -r "s/$1/$2/g" "{}" \;
}
rename "([[:alpha:]]*)([rR])eflowState(s?)" "\1\2eflowInput\3"
MozReview-Commit-ID: ITFO7uMTkSb
This commit is contained in:
@@ -520,9 +520,9 @@ BasicTableLayoutStrategy::MarkIntrinsicISizesDirty()
|
||||
}
|
||||
|
||||
/* virtual */ void
|
||||
BasicTableLayoutStrategy::ComputeColumnISizes(const ReflowInput& aReflowState)
|
||||
BasicTableLayoutStrategy::ComputeColumnISizes(const ReflowInput& aReflowInput)
|
||||
{
|
||||
nscoord iSize = aReflowState.ComputedISize();
|
||||
nscoord iSize = aReflowInput.ComputedISize();
|
||||
|
||||
if (mLastCalcISize == iSize) {
|
||||
return;
|
||||
@@ -537,7 +537,7 @@ BasicTableLayoutStrategy::ComputeColumnISizes(const ReflowInput& aReflowState)
|
||||
"dirtyness out of sync");
|
||||
// XXX Is this needed?
|
||||
if (mMinISize == NS_INTRINSIC_WIDTH_UNKNOWN) {
|
||||
ComputeIntrinsicISizes(aReflowState.mRenderingContext);
|
||||
ComputeIntrinsicISizes(aReflowInput.mRenderingContext);
|
||||
}
|
||||
|
||||
nsTableCellMap *cellMap = mTableFrame->GetCellMap();
|
||||
|
||||
Reference in New Issue
Block a user