mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
layout: Start using the new extensible RestyleDamage
type from Stylo (#37592)
This will allow Servo to add custom types of damage in the near future which correspond to minor phases layout. The damage exposed by Stylo only corresponds to the major layout phses. In the future, both phases will likely be managed by Servo itself and implementors will need to provide their own damage system entirely. Testing: This shouldn't change behavior and thus is covered by existing tests. Stylo PR: https://github.com/servo/stylo/pull/207 Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
a9dc2ac83a
commit
5286869b96
6 changed files with 56 additions and 35 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
mod layout_damage;
|
||||
pub mod wrapper_traits;
|
||||
|
||||
use std::any::Any;
|
||||
|
@ -28,6 +29,7 @@ use fnv::FnvHashMap;
|
|||
use fonts::{FontContext, SystemFontServiceProxy};
|
||||
use fxhash::FxHashMap;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
pub use layout_damage::LayoutDamage;
|
||||
use libc::c_void;
|
||||
use malloc_size_of::{MallocSizeOf as MallocSizeOfTrait, MallocSizeOfOps, malloc_size_of_is_0};
|
||||
use malloc_size_of_derive::MallocSizeOf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue