diff options
author | Ms2ger <ms2ger@gmail.com> | 2013-11-03 15:00:02 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2013-11-06 21:56:47 +0100 |
commit | 80a6103f7d54055389bd37ac6a74083c34222ab5 (patch) | |
tree | 5c39eafe4627fc46a695f7bbc92423d4b378500c /src/components/script/dom/validitystate.rs | |
parent | edd9c1d5ebb17c68bc1c5b809099aecc3f59943b (diff) | |
download | servo-80a6103f7d54055389bd37ac6a74083c34222ab5.tar.gz servo-80a6103f7d54055389bd37ac6a74083c34222ab5.zip |
Remove Reflectable::GetParentObject.
Diffstat (limited to 'src/components/script/dom/validitystate.rs')
-rw-r--r-- | src/components/script/dom/validitystate.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/script/dom/validitystate.rs b/src/components/script/dom/validitystate.rs index 471964c0737..562b58a16c6 100644 --- a/src/components/script/dom/validitystate.rs +++ b/src/components/script/dom/validitystate.rs @@ -6,8 +6,6 @@ use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::bindings::codegen::ValidityStateBinding; use dom::window::Window; -use js::jsapi::JSContext; - pub struct ValidityState { reflector_: Reflector, window: @mut Window, @@ -75,8 +73,4 @@ impl Reflectable for ValidityState { 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) - } } |