mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Delete tree treversal methods defined in Paintable.h
Those are duplicates of ones inherited from TreeNode.
This commit is contained in:
parent
314f4ff0da
commit
ec6201806f
Notes:
github-actions[bot]
2025-02-03 17:38:21 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: ec6201806f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3434
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/gmta ✅
2 changed files with 1 additions and 83 deletions
|
@ -119,7 +119,7 @@ public:
|
|||
if (auto decision = callback(static_cast<T const&>(*this)); decision != TraversalDecision::Continue)
|
||||
return decision;
|
||||
for (auto* child = first_child(); child; child = child->next_sibling()) {
|
||||
if (child->for_each_in_inclusive_subtree(callback) == IterationDecision::Break)
|
||||
if (child->for_each_in_inclusive_subtree(callback) == TraversalDecision::Break)
|
||||
return TraversalDecision::Break;
|
||||
}
|
||||
return TraversalDecision::Continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue