mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove unnecessary 'node changed' notification
This same notification already happens in `CharacterData::SetData`
This commit is contained in:
parent
12f6ba29a7
commit
1789405883
1 changed files with 0 additions and 4 deletions
|
@ -1935,10 +1935,6 @@ impl NodeMethods for Node {
|
||||||
NodeTypeId::CharacterData(..) => {
|
NodeTypeId::CharacterData(..) => {
|
||||||
let characterdata = self.downcast::<CharacterData>().unwrap();
|
let characterdata = self.downcast::<CharacterData>().unwrap();
|
||||||
characterdata.SetData(value);
|
characterdata.SetData(value);
|
||||||
|
|
||||||
// Notify the document that the content of this node is different
|
|
||||||
let document = self.owner_doc();
|
|
||||||
document.content_changed(self, NodeDamage::OtherNodeDamage);
|
|
||||||
}
|
}
|
||||||
NodeTypeId::DocumentType |
|
NodeTypeId::DocumentType |
|
||||||
NodeTypeId::Document => {}
|
NodeTypeId::Document => {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue