mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Remove the unused XMLHttpRequestEventTarget::eventtarget method.
This commit is contained in:
parent
50e1c967e4
commit
09dc9c44f3
1 changed files with 1 additions and 5 deletions
|
@ -26,12 +26,8 @@ impl XMLHttpRequestEventTarget {
|
|||
eventtarget: EventTarget::new_inherited(EventTargetTypeId::XMLHttpRequestEventTarget(type_id))
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn eventtarget(&self) -> &EventTarget {
|
||||
&self.eventtarget
|
||||
}
|
||||
}
|
||||
|
||||
impl XMLHttpRequestEventTargetDerived for EventTarget {
|
||||
fn is_xmlhttprequesteventtarget(&self) -> bool {
|
||||
match *self.type_id() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue