Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas
This commit is contained in:
@@ -873,6 +873,6 @@ nsMathMLmencloseFrame::DisplayNotation(nsDisplayListBuilder* aBuilder,
|
||||
aThickness <= 0)
|
||||
return;
|
||||
|
||||
aLists.Content()->AppendToTop(new (aBuilder)
|
||||
nsDisplayNotation(aBuilder, aFrame, aRect, aThickness, aType));
|
||||
aLists.Content()->AppendToTop(
|
||||
MakeDisplayItem<nsDisplayNotation>(aBuilder, aFrame, aRect, aThickness, aType));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user