aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/domimplementation.rs
diff options
context:
space:
mode:
authorEdit Balint <edbalint@inf.u-szeged.hu>2014-06-13 14:58:38 +0200
committerEdit Balint <edbalint@inf.u-szeged.hu>2014-06-13 19:06:28 +0200
commitbda29ade0912f7e17958f2f43dbe068bbb2bfd51 (patch)
treea456cf772921c3c98ab256dc72d8a7c6e14a6062 /src/components/script/dom/domimplementation.rs
parentda668f53d9df3cc21e708d4521aef458ea5bf231 (diff)
downloadservo-bda29ade0912f7e17958f2f43dbe068bbb2bfd51.tar.gz
servo-bda29ade0912f7e17958f2f43dbe068bbb2bfd51.zip
Replace uses of JS<T>.unrooted() with JS::from_rooted #2580
Diffstat (limited to 'src/components/script/dom/domimplementation.rs')
-rw-r--r--src/components/script/dom/domimplementation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/domimplementation.rs b/src/components/script/dom/domimplementation.rs
index 370a233f67d..f399f1e2d8b 100644
--- a/src/components/script/dom/domimplementation.rs
+++ b/src/components/script/dom/domimplementation.rs
@@ -28,7 +28,7 @@ pub struct DOMImplementation {
impl DOMImplementation {
pub fn new_inherited(owner: &JSRef<Window>) -> DOMImplementation {
DOMImplementation {
- owner: owner.unrooted(),
+ owner: JS::from_rooted(owner),
reflector_: Reflector::new(),
}
}