Remove Reflectable::GetParentObject.

This commit is contained in:
Ms2ger 2013-11-03 15:00:02 +01:00
parent edd9c1d5eb
commit 80a6103f7d
23 changed files with 3 additions and 154 deletions

View file

@ -7,8 +7,6 @@ use dom::bindings::utils::Fallible;
use dom::bindings::codegen::BlobBinding;
use dom::window::Window;
use js::jsapi::JSContext;
pub struct Blob {
reflector_: Reflector,
window: @mut Window,
@ -41,8 +39,4 @@ impl Reflectable for Blob {
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)
}
}