mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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:
commit
b568b72d76
6 changed files with 13 additions and 22 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue