summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-14 19:06:02 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-14 19:06:02 +0200
commit63b1c8e8828373b5a261856822e8b8acdebd66d4 (patch)
tree53c4285da20ce03d950b3a8214292add92b84663 /Libraries/LibWeb/Layout
parentec39f419e5ae06d3ed6fc312d6e65b315d626d27 (diff)
downloadserenity-63b1c8e8828373b5a261856822e8b8acdebd66d4.zip
LibWeb: Remove some unused functions from LayoutTable
Diffstat (limited to 'Libraries/LibWeb/Layout')
-rw-r--r--Libraries/LibWeb/Layout/LayoutTable.cpp10
-rw-r--r--Libraries/LibWeb/Layout/LayoutTable.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutTable.cpp b/Libraries/LibWeb/Layout/LayoutTable.cpp
index 44b741107a..5310e1bb05 100644
--- a/Libraries/LibWeb/Layout/LayoutTable.cpp
+++ b/Libraries/LibWeb/Layout/LayoutTable.cpp
@@ -44,14 +44,4 @@ void LayoutTable::layout(LayoutMode layout_mode)
LayoutBlock::layout(layout_mode);
}
-LayoutTableRow* LayoutTable::first_row()
-{
- return first_child_of_type<LayoutTableRow>();
-}
-
-const LayoutTableRow* LayoutTable::first_row() const
-{
- return first_child_of_type<LayoutTableRow>();
-}
-
}
diff --git a/Libraries/LibWeb/Layout/LayoutTable.h b/Libraries/LibWeb/Layout/LayoutTable.h
index 70b6b940ac..10ff2042a3 100644
--- a/Libraries/LibWeb/Layout/LayoutTable.h
+++ b/Libraries/LibWeb/Layout/LayoutTable.h
@@ -39,9 +39,6 @@ public:
virtual void layout(LayoutMode = LayoutMode::Default) override;
- LayoutTableRow* first_row();
- const LayoutTableRow* first_row() const;
-
private:
virtual bool is_table() const override { return true; }
virtual const char* class_name() const override { return "LayoutTable"; }