Remove CharacterData::set_data()

This commit is contained in:
Anthony Ramine 2015-04-09 01:47:51 +02:00
parent 14cd682210
commit c8f41b473c
2 changed files with 1 additions and 6 deletions

View file

@ -1880,7 +1880,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
NodeTypeId::Text |
NodeTypeId::ProcessingInstruction => {
let characterdata: JSRef<CharacterData> = CharacterDataCast::to_ref(self).unwrap();
characterdata.set_data(value);
characterdata.SetData(value);
// Notify the document that the content of this node is different
let document = self.owner_doc().root();