Bug 1542904 - Remove an useless assignment in nsTableRowGroupFrame.cpp. r=emilio
authorNas <nassim.ouhenia@yahoo.com>
Tue, 30 Apr 2019 21:53:43 +0200
changeset 471920 5fc15e9a69ec1824ff41b0ddcbb7743cf88ca309
parent 471919 8068f2c5ad489441277268b53e337a5b1de790d0
child 471921 8c408d1c7e2f9bcfae2d13719996e0afb6401d19
push id112967
push useremilio@crisal.io
push dateTue, 30 Apr 2019 19:54:52 +0000
treeherdermozilla-inbound@5fc15e9a69ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1542904
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1542904 - Remove an useless assignment in nsTableRowGroupFrame.cpp. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D29102
layout/tables/nsTableRowGroupFrame.cpp
--- a/layout/tables/nsTableRowGroupFrame.cpp
+++ b/layout/tables/nsTableRowGroupFrame.cpp
@@ -1226,18 +1226,16 @@ nsresult nsTableRowGroupFrame::SplitRowG
                      "this row fits");
         if (!aRowForcedPageBreak && ShouldAvoidBreakInside(aReflowInput)) {
           aStatus.SetInlineLineBreakBeforeAndReset();
           break;
         }
         if (prevRowFrame) {
           spanningRowBottom = prevRowFrame->GetNormalRect().YMost();
           lastRowThisPage = prevRowFrame;
-          isTopOfPage = (lastRowThisPage == firstRowThisPage) &&
-                        aReflowInput.mFlags.mIsTopOfPage;
           aStatus.Reset();
           aStatus.SetIncomplete();
         } else {
           // We can't push children, so let our parent reflow us again with more
           // space
           aDesiredSize.Height() = rowRect.YMost();
           aStatus.Reset();
           break;