diff --git a/mozilla/layout/html/table/src/nsTableFrame.cpp b/mozilla/layout/html/table/src/nsTableFrame.cpp index 8fbe06bf88c..60dade5b320 100644 --- a/mozilla/layout/html/table/src/nsTableFrame.cpp +++ b/mozilla/layout/html/table/src/nsTableFrame.cpp @@ -2141,7 +2141,7 @@ nsTableFrame::AppendFrames(nsIPresContext* aPresContext, } } else if (IsRowGroup(display->mDisplay)) { // insert the rows into the table - InsertRowGroups(*aPresContext, aFrameList, GetRowCount()); + InsertRowGroups(*aPresContext, f, GetRowCount()); // Append the new row group frame to the sibling chain mFrames.AppendFrame(nsnull, f); diff --git a/mozilla/layout/tables/nsTableFrame.cpp b/mozilla/layout/tables/nsTableFrame.cpp index 8fbe06bf88c..60dade5b320 100644 --- a/mozilla/layout/tables/nsTableFrame.cpp +++ b/mozilla/layout/tables/nsTableFrame.cpp @@ -2141,7 +2141,7 @@ nsTableFrame::AppendFrames(nsIPresContext* aPresContext, } } else if (IsRowGroup(display->mDisplay)) { // insert the rows into the table - InsertRowGroups(*aPresContext, aFrameList, GetRowCount()); + InsertRowGroups(*aPresContext, f, GetRowCount()); // Append the new row group frame to the sibling chain mFrames.AppendFrame(nsnull, f);