mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Inlined content_changed
This commit is contained in:
parent
88d29e537c
commit
bc1b8ef4c6
6 changed files with 13 additions and 22 deletions
|
@ -399,10 +399,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