mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWebView: Use ::unchecked_append() for view IDs
This commit is contained in:
committed by
Alexander Kalenik
parent
ffc61e2042
commit
9b1049be0c
Notes:
github-actions[bot]
2026-02-06 10:54:28 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/9b1049be0ce Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7682
@@ -81,7 +81,7 @@ void WebContentClient::notify_all_views_of_crash()
|
||||
Vector<u64> view_ids;
|
||||
view_ids.ensure_capacity(m_views.size());
|
||||
for (auto& [page_id, view] : m_views)
|
||||
view_ids.append(view->view_id());
|
||||
view_ids.unchecked_append(view->view_id());
|
||||
|
||||
for (auto view_id : view_ids) {
|
||||
Core::deferred_invoke([view_id] {
|
||||
|
||||
Reference in New Issue
Block a user