summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-07 09:17:34 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-07 09:17:34 +0200
commit379e6f5817171bbab7a749e5f9b3e32228d40ad2 (patch)
treedec992bb3201d020daf8c79c2bdc7bf2e3974ef0
parentb0ab6b9e3f5a32da41aefa9cd2dc173be0cfa5d1 (diff)
downloadserenity-379e6f5817171bbab7a749e5f9b3e32228d40ad2.zip
LibWeb: Remove unused LayoutPosition comparison operators
-rw-r--r--Libraries/LibWeb/Layout/LayoutPosition.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutPosition.h b/Libraries/LibWeb/Layout/LayoutPosition.h
index 8168020d52..7eaf47ec78 100644
--- a/Libraries/LibWeb/Layout/LayoutPosition.h
+++ b/Libraries/LibWeb/Layout/LayoutPosition.h
@@ -33,24 +33,6 @@ namespace Web {
class LayoutNode;
struct LayoutPosition {
- bool operator>=(const LayoutPosition& other) const
- {
- if (layout_node == other.layout_node)
- return index_in_node >= other.index_in_node;
-
- // FIXME: Implement.
- return true;
- }
-
- bool operator<=(const LayoutPosition& other) const
- {
- if (layout_node == other.layout_node)
- return index_in_node <= other.index_in_node;
-
- // FIXME: Implement.
- return false;
- }
-
RefPtr<LayoutNode> layout_node;
int index_in_node { 0 };
};