mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
stylo: Don't return unconditionally true for has_changed
This commit is contained in:
parent
880d1120a3
commit
40df81d537
1 changed files with 3 additions and 4 deletions
|
@ -194,10 +194,9 @@ impl<'ln> TNode for GeckoNode<'ln> {
|
|||
unimplemented!()
|
||||
}
|
||||
|
||||
fn has_changed(&self) -> bool {
|
||||
// FIXME(bholley) - Implement this to allow incremental reflows!
|
||||
true
|
||||
}
|
||||
// NOTE: This is not relevant for Gecko, since we get explicit restyle hints
|
||||
// when a content has changed.
|
||||
fn has_changed(&self) -> bool { false }
|
||||
|
||||
unsafe fn set_changed(&self, _value: bool) {
|
||||
unimplemented!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue