mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1103,6 +1103,7 @@ dependencies = [
|
|||
"servo_allocator",
|
||||
"servo_config",
|
||||
"servo_geometry",
|
||||
"smallvec",
|
||||
"stylo_traits",
|
||||
"surfman",
|
||||
"tracing",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue