diff --git a/layout/tables/nsTablePainter.cpp b/layout/tables/nsTablePainter.cpp index 3a25f41f093b..cf0565a91ba3 100644 --- a/layout/tables/nsTablePainter.cpp +++ b/layout/tables/nsTablePainter.cpp @@ -283,8 +283,9 @@ TableBackgroundPainter::PaintTable(nsTableFrame* aTableFrame, } if (aPaintTableBackground) { - PaintTableFrame(aTableFrame, rowGroups[0], rowGroups[rowGroups.Length() - 1], - aDeflate); + result &= + PaintTableFrame(aTableFrame, rowGroups[0], rowGroups[rowGroups.Length() - 1], + aDeflate); } /*Set up column background/border data*/