mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +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
|
@ -487,7 +487,7 @@ impl Runnable for ConnectionEstablishedTask {
|
|||
// Step 5: Cookies.
|
||||
|
||||
// Step 6.
|
||||
ws.upcast().fire_simple_event("open", global.r());
|
||||
ws.upcast().fire_simple_event("open");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -537,8 +537,7 @@ impl Runnable for CloseTask {
|
|||
if self.failed {
|
||||
ws.upcast().fire_event("error",
|
||||
EventBubbles::DoesNotBubble,
|
||||
EventCancelable::Cancelable,
|
||||
global.r());
|
||||
EventCancelable::Cancelable);
|
||||
}
|
||||
|
||||
// Step 3.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue