mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
Remove Reflectable::GetParentObject.
This commit is contained in:
parent
edd9c1d5eb
commit
80a6103f7d
23 changed files with 3 additions and 154 deletions
|
@ -158,10 +158,6 @@ impl Reflectable for AbstractDocument {
|
|||
fn mut_reflector<'a>(&'a mut self) -> &'a mut Reflector {
|
||||
self.mut_document().mut_reflector()
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
self.document().GetParentObject(cx)
|
||||
}
|
||||
}
|
||||
|
||||
impl Reflectable for Document {
|
||||
|
@ -172,10 +168,6 @@ impl Reflectable for Document {
|
|||
fn mut_reflector<'a>(&'a mut self) -> &'a mut Reflector {
|
||||
self.node.mut_reflector()
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, _cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
Some(self.window as @mut Reflectable)
|
||||
}
|
||||
}
|
||||
|
||||
impl Document {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue