Bug 1643173 Part 1 - Convert enum nsIFrame::DISPLAY_CHILD_* to enum class. r=dholbert
The modifications are all straightforward conversion except the one in nsMathMLContainerFrame, where it is simplified by calling the equivalent BuildDisplayListForInline() helper. Differential Revision: https://phabricator.services.mozilla.com/D78166
This commit is contained in:
@@ -1314,7 +1314,7 @@ void nsTextControlFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
clipToRoot(overlayTextClip);
|
||||
auto* kid = mPlaceholderDiv->GetPrimaryFrame();
|
||||
MOZ_ASSERT(kid->GetParent() == this);
|
||||
BuildDisplayListForChild(aBuilder, kid, set, 0);
|
||||
BuildDisplayListForChild(aBuilder, kid, set);
|
||||
}
|
||||
|
||||
for (auto* kid : mFrames) {
|
||||
@@ -1329,7 +1329,7 @@ void nsTextControlFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
if (kidContent == mPreviewDiv) {
|
||||
clipToRoot(overlayTextClip);
|
||||
}
|
||||
BuildDisplayListForChild(aBuilder, kid, set, 0);
|
||||
BuildDisplayListForChild(aBuilder, kid, set);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user