Auto merge of #10391 - autrilla:inline-content-changed, r=Ms2ger

Inlined content_changed

cc @Ms2ger

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10391)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-05 01:37:55 +05:30
commit b568b72d76
6 changed files with 13 additions and 22 deletions

View file

@ -400,10 +400,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);
}