Auto merge of #8087 - asajeffrey:dont_dirty_twice, r=pcwalton

Removced unncessary call to dirty() in Document::node_and_heritage_ch…

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

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8087)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-03 21:04:39 +05:30
commit 23efa0a36f

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.