mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -122,8 +122,7 @@ impl Worker {
|
|||
|
||||
pub fn dispatch_simple_error(address: TrustedWorkerAddress) {
|
||||
let worker = address.root();
|
||||
let global = worker.r().global();
|
||||
worker.upcast().fire_simple_event("error", global.r());
|
||||
worker.upcast().fire_simple_event("error");
|
||||
}
|
||||
|
||||
pub fn handle_error_message(address: TrustedWorkerAddress, message: DOMString,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue