mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibWeb: Remove unused LayoutPosition comparison operators
This commit is contained in:
parent
b0ab6b9e3f
commit
379e6f5817
Notes:
sideshowbarker
2024-07-19 04:10:37 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/379e6f58171
1 changed files with 0 additions and 18 deletions
|
@ -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 };
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue