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!() unimplemented!()
} }
fn has_changed(&self) -> bool { // NOTE: This is not relevant for Gecko, since we get explicit restyle hints
// FIXME(bholley) - Implement this to allow incremental reflows! // when a content has changed.
true fn has_changed(&self) -> bool { false }
}
unsafe fn set_changed(&self, _value: bool) { unsafe fn set_changed(&self, _value: bool) {
unimplemented!() unimplemented!()