From 1789405883e969eb1bb98eb343012a27cea9c1ff Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Wed, 11 Nov 2015 17:53:38 -0500 Subject: [PATCH] Remove unnecessary 'node changed' notification This same notification already happens in `CharacterData::SetData` --- components/script/dom/node.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index ca5b14b192c..f96da2f5934 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1935,10 +1935,6 @@ impl NodeMethods for Node { NodeTypeId::CharacterData(..) => { let characterdata = self.downcast::().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 => {}