mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
parent
ba073d7e99
commit
df60f8b2c5
82 changed files with 91 additions and 84 deletions
|
@ -21,7 +21,7 @@ pub struct HTMLMediaElement {
|
|||
|
||||
impl HTMLMediaElementDerived for EventTarget {
|
||||
fn is_htmlmediaelement(&self) -> bool {
|
||||
match self.type_id {
|
||||
match *self.type_id() {
|
||||
NodeTargetTypeId(ElementNodeTypeId(HTMLVideoElementTypeId)) |
|
||||
NodeTargetTypeId(ElementNodeTypeId(HTMLAudioElementTypeId)) => true,
|
||||
_ => false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue