Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert
This patch is written by the following script with some manual adjustment to
the comment in nsRubyTextContainerFrame.cpp and nsRubyFrame.cpp, and
nsColumnSetFrame's constructor.
function rename() {
find layout\
-type f\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "nsReflowStatus *([a-zA-Z0-9]*) = NS_FRAME_COMPLETE" "nsReflowStatus \1"
rename "([a-zA-Z0-9.*]*) *= NS_FRAME_COMPLETE;" "\1.Reset();"
rename "([a-zA-Z0-9.*]*) == NS_FRAME_COMPLETE" "\1.IsEmpty()"
MozReview-Commit-ID: 9tqQAHvdQex
This commit is contained in:
@@ -876,7 +876,7 @@ nsTableCellFrame::Reflow(nsPresContext* aPresContext,
|
||||
// see if a special bsize reflow needs to occur due to having a pct height
|
||||
nsTableFrame::CheckRequestSpecialBSizeReflow(aReflowInput);
|
||||
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
aStatus.Reset();
|
||||
WritingMode wm = aReflowInput.GetWritingMode();
|
||||
LogicalSize availSize(wm, aReflowInput.AvailableISize(),
|
||||
aReflowInput.AvailableBSize());
|
||||
|
||||
Reference in New Issue
Block a user