mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
compositor: Batch all pending scroll event updates into a single transaction (#36974)
When multiple WebViews are updating scroll events, instead of taking the list of `WebView`s to avoid a double-borrow, batch scroll events into a single transaction. This should make processing slightly more efficient and avoids having to take the vector of WebViews. Testing: No behavior change here and this aspect of WebView interaction is untestable currently. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
639eb7bc55
commit
c1a70f4eb2
4 changed files with 75 additions and 38 deletions
|
@ -38,6 +38,7 @@ script_traits = { workspace = true }
|
|||
servo_allocator = { path = "../allocator" }
|
||||
servo_config = { path = "../config" }
|
||||
servo_geometry = { path = "../geometry" }
|
||||
smallvec = { workspace = true }
|
||||
stylo_traits = { workspace = true }
|
||||
tracing = { workspace = true, optional = true }
|
||||
webrender = { workspace = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue