mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove Reflectable::GetParentObject.
This commit is contained in:
parent
edd9c1d5eb
commit
80a6103f7d
23 changed files with 3 additions and 154 deletions
|
@ -16,8 +16,6 @@ use layout_interface::{ContentBoxesResponse};
|
|||
use style;
|
||||
use servo_util::tree::{TreeNodeRef, ElementLike};
|
||||
|
||||
use js::jsapi::JSContext;
|
||||
|
||||
use std::comm;
|
||||
use std::hashmap::HashMap;
|
||||
use std::ascii::StrAsciiExt;
|
||||
|
@ -38,10 +36,6 @@ impl Reflectable for Element {
|
|||
fn mut_reflector<'a>(&'a mut self) -> &'a mut Reflector {
|
||||
self.node.mut_reflector()
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
self.node.GetParentObject(cx)
|
||||
}
|
||||
}
|
||||
|
||||
#[deriving(Eq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue