aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-11-11 17:53:38 -0500
committerCorey Farwell <coreyf@rwell.org>2015-11-11 17:53:38 -0500
commit1789405883e969eb1bb98eb343012a27cea9c1ff (patch)
tree99e7ca45d26cac145136dab033dbf1434703f67c /components/script/dom/node.rs
parent12f6ba29a74029fa8c83cc7274181d441e1e52dd (diff)
downloadservo-1789405883e969eb1bb98eb343012a27cea9c1ff.tar.gz
servo-1789405883e969eb1bb98eb343012a27cea9c1ff.zip
Remove unnecessary 'node changed' notification
This same notification already happens in `CharacterData::SetData`
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs4
1 files changed, 0 insertions, 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::<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 => {}