Removced unncessary call to dirty() in Document::node_and_heritage_change, since the node is aready dirtied by force_dirty_ancestors().

This commit is contained in:
Alan Jeffrey 2015-10-19 16:27:00 -05:00
parent 526a3c8df3
commit d3ea0a0256

View file

@ -347,7 +347,6 @@ impl Document {
pub fn content_and_heritage_changed(&self, node: &Node, damage: NodeDamage) {
node.force_dirty_ancestors(damage);
node.dirty(damage);
}
/// Reflows and disarms the timer if the reflow timer has expired.