mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
parent
ba073d7e99
commit
df60f8b2c5
82 changed files with 91 additions and 84 deletions
|
@ -25,7 +25,7 @@ pub struct Comment {
|
|||
|
||||
impl CommentDerived for EventTarget {
|
||||
fn is_comment(&self) -> bool {
|
||||
self.type_id == NodeTargetTypeId(CommentNodeTypeId)
|
||||
*self.type_id() == NodeTargetTypeId(CommentNodeTypeId)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue