mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make Stylesheet.dirty_on_viewport_size_change an AtomicBool
This commit is contained in:
parent
236c575c50
commit
cf7adcdca5
4 changed files with 27 additions and 6 deletions
|
@ -1055,7 +1055,7 @@ impl LayoutThread {
|
|||
.send(ConstellationMsg::ViewportConstrained(self.id, constraints))
|
||||
.unwrap();
|
||||
}
|
||||
if data.document_stylesheets.iter().any(|sheet| sheet.dirty_on_viewport_size_change) {
|
||||
if data.document_stylesheets.iter().any(|sheet| sheet.dirty_on_viewport_size_change()) {
|
||||
let mut iter = node.traverse_preorder();
|
||||
|
||||
let mut next = iter.next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue