mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove the global argument to EventTarget::{fire_event, fire_simple_event}.
This commit is contained in:
parent
4c4df37a12
commit
5317af1e19
9 changed files with 30 additions and 45 deletions
|
@ -210,10 +210,10 @@ impl HTMLIFrameElement {
|
|||
// TODO Step 3 - set child document `mut iframe load` flag
|
||||
|
||||
// Step 4
|
||||
let window = window_from_node(self);
|
||||
self.upcast::<EventTarget>().fire_simple_event("load", GlobalRef::Window(window.r()));
|
||||
self.upcast::<EventTarget>().fire_simple_event("load");
|
||||
// TODO Step 5 - unset child document `mut iframe load` flag
|
||||
|
||||
let window = window_from_node(self);
|
||||
window.reflow(ReflowGoal::ForDisplay,
|
||||
ReflowQueryType::NoQuery,
|
||||
ReflowReason::IFrameLoadEvent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue