Fix events filter in wait_for_user_agent_handling_complete (#37241)

Fix a mistake from https://github.com/servo/servo/pull/37095
cc: @xiaochengh

Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
batu_hoang 2025-06-04 14:39:31 +08:00 committed by GitHub
parent b422a65a00
commit e0d96163c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,7 +161,7 @@ impl Handler {
let count_non_null_actions_in_tick = tick_actions
.iter()
.filter(|(_, action)| {
!matches!(action, ActionItem::Pointer(PointerActionItem::Pointer(_)))
matches!(action, ActionItem::Pointer(PointerActionItem::Pointer(_)))
})
.count();