mirror of
https://github.com/servo/servo.git
synced 2025-06-16 04:14:29 +00:00
Remove the unused default implementation of Reflectable::init_reflector.
This commit is contained in:
parent
9be52dc41a
commit
970b8aa8bc
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue