Remove intrinsic Root::r()

This commit is contained in:
Anthony Ramine 2016-05-13 14:20:00 +02:00
parent 51bcf516c8
commit 0b3ab875f4
55 changed files with 275 additions and 310 deletions

View file

@ -263,7 +263,7 @@ impl HTMLTextAreaElementMethods for HTMLTextAreaElement {
atom!("select"),
EventBubbles::Bubbles,
EventCancelable::NotCancelable,
window.r());
&window);
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);
}
}
@ -387,7 +387,7 @@ impl VirtualMethods for HTMLTextAreaElement {
atom!("input"),
EventBubbles::Bubbles,
EventCancelable::NotCancelable,
window.r());
&window);
}
self.upcast::<Node>().dirty(NodeDamage::OtherNodeDamage);