aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/clientrectlist.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/clientrectlist.rs')
-rw-r--r--src/components/script/dom/clientrectlist.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/script/dom/clientrectlist.rs b/src/components/script/dom/clientrectlist.rs
index 9f615294ae4..7d221754fa3 100644
--- a/src/components/script/dom/clientrectlist.rs
+++ b/src/components/script/dom/clientrectlist.rs
@@ -7,8 +7,6 @@ use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
use dom::clientrect::ClientRect;
use dom::window::Window;
-use js::jsapi::JSContext;
-
pub struct ClientRectList {
reflector_: Reflector,
rects: ~[@mut ClientRect],
@@ -57,8 +55,4 @@ impl Reflectable for ClientRectList {
fn mut_reflector<'a>(&'a mut self) -> &'a mut Reflector {
&mut self.reflector_
}
-
- fn GetParentObject(&self, _cx: *JSContext) -> Option<@mut Reflectable> {
- Some(self.window as @mut Reflectable)
- }
}