aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-29 06:47:45 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-10-05 22:53:50 +0530
commit707a2870fa5a7c10dad49a8ab0db39c7e568f1c6 (patch)
tree17bb1de1bdfcb14d356f0e24c7ac55d72ae991aa /components/script/dom/window.rs
parent22567762a0d1a6f77f770b488f60adb14150843d (diff)
downloadservo-707a2870fa5a7c10dad49a8ab0db39c7e568f1c6.tar.gz
servo-707a2870fa5a7c10dad49a8ab0db39c7e568f1c6.zip
Remove Traceable/Untraceable from page.rs
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 8055933bc86..8c051b66dfb 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -99,7 +99,7 @@ pub struct Window {
impl Window {
pub fn get_cx(&self) -> *mut JSContext {
let js_info = self.page().js_info();
- (**js_info.as_ref().unwrap().js_context).ptr
+ (*js_info.as_ref().unwrap().js_context).ptr
}
pub fn page<'a>(&'a self) -> &'a Page {