aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-09-18 16:29:46 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-09-20 13:00:55 -0700
commitdc86e8365495acc87b983a290bb7277a37a5247f (patch)
tree36af9677f6a24d7163e4b41c2b8e53da4d15538c /components/script/dom/bindings/utils.rs
parent2f46b9aedefae7938102f7a1ccc6c96044cf1bdb (diff)
downloadservo-dc86e8365495acc87b983a290bb7277a37a5247f.tar.gz
servo-dc86e8365495acc87b983a290bb7277a37a5247f.zip
Eliminate warnings
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r--components/script/dom/bindings/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs
index 1b69970b582..a923371ae8e 100644
--- a/components/script/dom/bindings/utils.rs
+++ b/components/script/dom/bindings/utils.rs
@@ -660,7 +660,7 @@ pub extern fn outerize_global(_cx: *mut JSContext, obj: JSHandleObject) -> *mut
IDLInterface::get_prototype_depth(None::<window::Window>))
.unwrap()
.root();
- win.deref().browser_context.deref().borrow().get_ref().window_proxy()
+ win.deref().browser_context.deref().borrow().as_ref().unwrap().window_proxy()
}
}