Bug 1856469 - Remove redundant GetTableFrame() call in nsTableRowFrame::DidResize(). r=dholbert

We've got `tableFrame` at the beginning of the method.

Differential Revision: https://phabricator.services.mozilla.com/D189865
This commit is contained in:
Ting-Yu Lin 2023-10-02 23:51:45 +00:00
parent fa2174afe7
commit ad1d86449b

View File

@ -366,7 +366,6 @@ void nsTableRowFrame::DidResize() {
cellSize.BSize(wm) = cellBSize;
cellFrame->SetSize(wm, cellSize);
nsTableFrame* tableFrame = GetTableFrame();
if (tableFrame->IsBorderCollapse()) {
nsTableFrame::InvalidateTableFrame(cellFrame, cellOldRect,
cellInkOverflow, false);