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
|
@ -26,7 +26,7 @@ pub struct CharacterData {
|
|||
|
||||
impl CharacterDataDerived for EventTarget {
|
||||
fn is_characterdata(&self) -> bool {
|
||||
match self.type_id {
|
||||
match *self.type_id() {
|
||||
NodeTargetTypeId(TextNodeTypeId) |
|
||||
NodeTargetTypeId(CommentNodeTypeId) |
|
||||
NodeTargetTypeId(ProcessingInstructionNodeTypeId) => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue