stylo: Don't return unconditionally true for has_changed

This commit is contained in:
Emilio Cobos Álvarez 2016-08-04 13:17:52 -07:00
parent 880d1120a3
commit 40df81d537
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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!()