Remove unused Reflector::get_rootable.

This commit is contained in:
Ms2ger 2014-02-07 13:04:31 +01:00
parent a1e98ada50
commit 5765de12cd

View file

@ -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()