Bug 1512251 - Remove unused render only selection code r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D13829
This commit is contained in:
Miko Mynttinen
2018-12-06 19:40:50 +00:00
parent 65a65e231b
commit d362fc5ee4
34 changed files with 35 additions and 147 deletions

View File

@@ -594,7 +594,7 @@ void nsMathMLContainerFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
const nsDisplayListSet& aLists) {
// report an error if something wrong was found in this frame
if (NS_MATHML_HAS_ERROR(mPresentationData.flags)) {
if (!IsVisibleForPainting(aBuilder)) return;
if (!IsVisibleForPainting()) return;
aLists.Content()->AppendToTop(
MakeDisplayItem<nsDisplayMathMLError>(aBuilder, this));