mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Migrate EventTarget
event firing functions to use Atom
s.
This allows us to utilize more `atom` macros.
This commit is contained in:
parent
80575c3d2e
commit
f447040ea9
16 changed files with 42 additions and 33 deletions
|
@ -239,7 +239,7 @@ impl HTMLIFrameElement {
|
|||
// TODO Step 3 - set child document `mut iframe load` flag
|
||||
|
||||
// Step 4
|
||||
self.upcast::<EventTarget>().fire_event("load");
|
||||
self.upcast::<EventTarget>().fire_event(atom!("load"));
|
||||
|
||||
let mut blocker = self.load_blocker.borrow_mut();
|
||||
LoadBlocker::terminate(&mut blocker);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue