Get rid of a bunch of explicit derefs

This commit is contained in:
David Zbarsky 2015-11-02 22:26:50 -08:00
parent ca56ebbb09
commit 722aa86c89
49 changed files with 340 additions and 360 deletions

View file

@ -72,8 +72,7 @@ impl VirtualMethods for HTMLTitleElement {
fn bind_to_tree(&self, is_in_doc: bool) {
let node = self.upcast::<Node>();
if is_in_doc {
let document = node.owner_doc();
document.r().title_changed();
node.owner_doc().title_changed();
}
}
}