aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlobjectelement.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-05-13 14:20:00 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-10-11 19:44:32 +0200
commit0b3ab875f4c99f63d6caa9be528890ad98b1b2b7 (patch)
tree4139e748dd73a729f5a84c277e90f3f15e0df85a /components/script/dom/htmlobjectelement.rs
parent51bcf516c831f60a6fc05d970df5fad99730558e (diff)
downloadservo-0b3ab875f4c99f63d6caa9be528890ad98b1b2b7.tar.gz
servo-0b3ab875f4c99f63d6caa9be528890ad98b1b2b7.zip
Remove intrinsic Root::r()
Diffstat (limited to 'components/script/dom/htmlobjectelement.rs')
-rw-r--r--components/script/dom/htmlobjectelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlobjectelement.rs b/components/script/dom/htmlobjectelement.rs
index 697abfe6e67..6e82b9f9bd6 100644
--- a/components/script/dom/htmlobjectelement.rs
+++ b/components/script/dom/htmlobjectelement.rs
@@ -74,7 +74,7 @@ impl HTMLObjectElementMethods for HTMLObjectElement {
// https://html.spec.whatwg.org/multipage/#dom-cva-validity
fn Validity(&self) -> Root<ValidityState> {
let window = window_from_node(self);
- ValidityState::new(window.r(), self.upcast())
+ ValidityState::new(&window, self.upcast())
}
// https://html.spec.whatwg.org/multipage/#dom-object-type