mirror of
https://github.com/servo/servo.git
synced 2025-07-29 18:20:24 +01:00
Replace DisplayList::is_contentful with tracking during conversion to WR display lists
This commit is contained in:
parent
526619a78a
commit
e9f7079c70
8 changed files with 53 additions and 42 deletions
|
@ -103,8 +103,3 @@ pub fn node_id_from_scroll_id(id: usize) -> Option<usize> {
|
|||
}
|
||||
None
|
||||
}
|
||||
|
||||
pub trait DisplayList {
|
||||
/// Returns true if this display list contains meaningful content.
|
||||
fn is_contentful(&self) -> bool;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue