LibWeb: Remove EventLoop::documents_in_this_event_loop()
This function is no longer used anywhere.
This commit is contained in:
parent
c322603c42
commit
63167cfd89
Notes:
github-actions[bot]
2024-11-24 19:29:13 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/63167cfd891 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2550 Reviewed-by: https://github.com/awesomekling ✅
2 changed files with 0 additions and 6 deletions
|
@ -527,11 +527,6 @@ Vector<GC::Root<DOM::Document>> EventLoop::documents_in_this_event_loop_matching
|
|||
return documents;
|
||||
}
|
||||
|
||||
Vector<GC::Root<DOM::Document>> EventLoop::documents_in_this_event_loop() const
|
||||
{
|
||||
return documents_in_this_event_loop_matching([](auto&) { return true; });
|
||||
}
|
||||
|
||||
void EventLoop::register_document(Badge<DOM::Document>, DOM::Document& document)
|
||||
{
|
||||
m_documents.append(&document);
|
||||
|
|
|
@ -72,7 +72,6 @@ public:
|
|||
void register_document(Badge<DOM::Document>, DOM::Document&);
|
||||
void unregister_document(Badge<DOM::Document>, DOM::Document&);
|
||||
|
||||
Vector<GC::Root<DOM::Document>> documents_in_this_event_loop() const;
|
||||
[[nodiscard]] Vector<GC::Root<DOM::Document>> documents_in_this_event_loop_matching(Function<bool(DOM::Document&)> callback) const;
|
||||
|
||||
Vector<GC::Root<HTML::Window>> same_loop_windows() const;
|
||||
|
|
Loading…
Add table
Reference in a new issue