From 1f48d5a80dcf7c6274f59ceafd509095b73b1ce0 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 13 Jun 2020 15:30:27 +0200 Subject: [PATCH] LibWeb: Remove some unused functions in LayoutTableRow --- Libraries/LibWeb/Layout/LayoutTableRow.cpp | 20 -------------------- Libraries/LibWeb/Layout/LayoutTableRow.h | 8 -------- 2 files changed, 28 deletions(-) diff --git a/Libraries/LibWeb/Layout/LayoutTableRow.cpp b/Libraries/LibWeb/Layout/LayoutTableRow.cpp index e571d398f1..660e63dd47 100644 --- a/Libraries/LibWeb/Layout/LayoutTableRow.cpp +++ b/Libraries/LibWeb/Layout/LayoutTableRow.cpp @@ -71,24 +71,4 @@ void LayoutTableRow::layout_row(const Vector& column_widths) set_height(tallest_cell_height); } -LayoutTableCell* LayoutTableRow::first_cell() -{ - return first_child_of_type(); -} - -const LayoutTableCell* LayoutTableRow::first_cell() const -{ - return first_child_of_type(); -} - -LayoutTableRow* LayoutTableRow::next_row() -{ - return next_sibling_of_type(); -} - -const LayoutTableRow* LayoutTableRow::next_row() const -{ - return next_sibling_of_type(); -} - } diff --git a/Libraries/LibWeb/Layout/LayoutTableRow.h b/Libraries/LibWeb/Layout/LayoutTableRow.h index fe88582587..e39601ee98 100644 --- a/Libraries/LibWeb/Layout/LayoutTableRow.h +++ b/Libraries/LibWeb/Layout/LayoutTableRow.h @@ -37,14 +37,6 @@ public: LayoutTableRow(const Element&, NonnullRefPtr); virtual ~LayoutTableRow() override; - - - LayoutTableCell* first_cell(); - const LayoutTableCell* first_cell() const; - - LayoutTableRow* next_row(); - const LayoutTableRow* next_row() const; - void layout_row(const Vector& column_widths); void calculate_column_widths(Vector& column_widths);