mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove unused Reflector::get_rootable.
This commit is contained in:
parent
a1e98ada50
commit
5765de12cd
1 changed files with 1 additions and 5 deletions
|
@ -11,7 +11,7 @@ use std::cast;
|
|||
use std::hashmap::HashMap;
|
||||
use std::libc;
|
||||
use std::ptr;
|
||||
use std::ptr::{null, to_unsafe_ptr};
|
||||
use std::ptr::null;
|
||||
use std::str;
|
||||
use std::vec;
|
||||
use std::unstable::raw::Box;
|
||||
|
@ -631,10 +631,6 @@ impl Reflector {
|
|||
self.object = object;
|
||||
}
|
||||
|
||||
pub fn get_rootable(&self) -> **JSObject {
|
||||
return to_unsafe_ptr(&self.object);
|
||||
}
|
||||
|
||||
pub fn new() -> Reflector {
|
||||
Reflector {
|
||||
object: ptr::null()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue