Bug 775624 Part 5 - Remove NS_FRAME_IS_COMPLETE. r=dholbert
This patch is written by the help of the following script.
function rename() {
find layout\
-type f\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "NS_FRAME_IS_COMPLETE\(([a-zA-Z0-9.*]*)\)" "\1.IsComplete()"
MozReview-Commit-ID: GOd4y2N6dcz
This commit is contained in:
@@ -1177,7 +1177,7 @@ nsTableRowFrame::ReflowCellFrame(nsPresContext* aPresContext,
|
||||
|
||||
ReflowChild(aCellFrame, aPresContext, desiredSize, cellReflowInput,
|
||||
0, 0, NS_FRAME_NO_MOVE_FRAME, aStatus);
|
||||
bool fullyComplete = NS_FRAME_IS_COMPLETE(aStatus) && !NS_FRAME_IS_TRUNCATED(aStatus);
|
||||
bool fullyComplete = aStatus.IsComplete() && !NS_FRAME_IS_TRUNCATED(aStatus);
|
||||
if (fullyComplete) {
|
||||
desiredSize.BSize(wm) = aAvailableBSize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user