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

@ -56,11 +56,6 @@ impl CharacterData {
self.data.borrow()
}
#[inline]
pub fn set_data(&self, data: DOMString) {
*self.data.borrow_mut() = data;
}
#[inline]
#[allow(unsafe_code)]
pub unsafe fn data_for_layout<'a>(&'a self) -> &'a str {