Remove unnecessary 'node changed' notification

This same notification already happens in `CharacterData::SetData`
This commit is contained in:
Corey Farwell 2015-11-11 17:53:38 -05:00
parent 12f6ba29a7
commit 1789405883

View file

@ -1935,10 +1935,6 @@ impl NodeMethods for Node {
NodeTypeId::CharacterData(..) => {
let characterdata = self.downcast::<CharacterData>().unwrap();
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::Document => {}