Inlined content_changed

This commit is contained in:
Adrian Utrilla 2016-04-04 11:03:30 +02:00
parent 88d29e537c
commit bc1b8ef4c6
6 changed files with 13 additions and 22 deletions

View file

@ -399,10 +399,6 @@ impl Document {
self.encoding.set(encoding);
}
pub fn content_changed(&self, node: &Node, damage: NodeDamage) {
node.dirty(damage);
}
pub fn content_and_heritage_changed(&self, node: &Node, damage: NodeDamage) {
node.force_dirty_ancestors(damage);
}