Remove the unused default implementation of Reflectable::init_reflector.

This commit is contained in:
Ms2ger 2015-10-23 17:21:04 +02:00
parent 9be52dc41a
commit 970b8aa8bc

View file

@ -418,9 +418,7 @@ pub trait Reflectable {
/// Returns the receiver's reflector.
fn reflector(&self) -> &Reflector;
/// Initializes the Reflector
fn init_reflector(&mut self, _obj: *mut JSObject) {
panic!("Cannot call init on this Reflectable");
}
fn init_reflector(&mut self, obj: *mut JSObject);
}
/// Create the reflector for a new DOM object and yield ownership to the