mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Privatize EventTarget and EventListenerEntry
This commit is contained in:
parent
ba073d7e99
commit
df60f8b2c5
82 changed files with 91 additions and 84 deletions
|
@ -193,7 +193,7 @@ impl Reflectable for DedicatedWorkerGlobalScope {
|
|||
|
||||
impl DedicatedWorkerGlobalScopeDerived for EventTarget {
|
||||
fn is_dedicatedworkerglobalscope(&self) -> bool {
|
||||
match self.type_id {
|
||||
match *self.type_id() {
|
||||
WorkerGlobalScopeTypeId(DedicatedGlobalScope) => true,
|
||||
_ => false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue