mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove Reflectable::wrap_object_shared.
This commit is contained in:
parent
c693cb185c
commit
53731b62ae
23 changed files with 18 additions and 123 deletions
|
@ -11,7 +11,7 @@ use dom::uievent::UIEvent;
|
|||
use dom::window::Window;
|
||||
use dom::windowproxy::WindowProxy;
|
||||
|
||||
use js::jsapi::{JSObject, JSContext};
|
||||
use js::jsapi::JSContext;
|
||||
|
||||
pub struct MouseEvent {
|
||||
parent: UIEvent,
|
||||
|
@ -152,10 +152,6 @@ impl Reflectable for MouseEvent {
|
|||
self.parent.mut_reflector()
|
||||
}
|
||||
|
||||
fn wrap_object_shared(@mut self, _cx: *JSContext, _scope: *JSObject) -> *JSObject {
|
||||
unreachable!()
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
self.parent.GetParentObject(cx)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue