Explorar o código

LibWeb: Remove some unused functions in LayoutTableRow

Andreas Kling %!s(int64=5) %!d(string=hai) anos
pai
achega
1f48d5a80d

+ 0 - 20
Libraries/LibWeb/Layout/LayoutTableRow.cpp

@@ -71,24 +71,4 @@ void LayoutTableRow::layout_row(const Vector<float>& column_widths)
     set_height(tallest_cell_height);
     set_height(tallest_cell_height);
 }
 }
 
 
-LayoutTableCell* LayoutTableRow::first_cell()
-{
-    return first_child_of_type<LayoutTableCell>();
-}
-
-const LayoutTableCell* LayoutTableRow::first_cell() const
-{
-    return first_child_of_type<LayoutTableCell>();
-}
-
-LayoutTableRow* LayoutTableRow::next_row()
-{
-    return next_sibling_of_type<LayoutTableRow>();
-}
-
-const LayoutTableRow* LayoutTableRow::next_row() const
-{
-    return next_sibling_of_type<LayoutTableRow>();
-}
-
 }
 }

+ 0 - 8
Libraries/LibWeb/Layout/LayoutTableRow.h

@@ -37,14 +37,6 @@ public:
     LayoutTableRow(const Element&, NonnullRefPtr<StyleProperties>);
     LayoutTableRow(const Element&, NonnullRefPtr<StyleProperties>);
     virtual ~LayoutTableRow() override;
     virtual ~LayoutTableRow() override;
 
 
-
-
-    LayoutTableCell* first_cell();
-    const LayoutTableCell* first_cell() const;
-
-    LayoutTableRow* next_row();
-    const LayoutTableRow* next_row() const;
-
     void layout_row(const Vector<float>& column_widths);
     void layout_row(const Vector<float>& column_widths);
     void calculate_column_widths(Vector<float>& column_widths);
     void calculate_column_widths(Vector<float>& column_widths);