mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
commit
23efa0a36f
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue