mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Split fn script_chan into 5 different task channel fn
This commit is contained in:
parent
368dd1dc53
commit
8d90034d29
11 changed files with 98 additions and 39 deletions
|
@ -343,7 +343,7 @@ impl VirtualMethods for HTMLTextAreaElement {
|
|||
if event.IsTrusted() {
|
||||
let window = window_from_node(self);
|
||||
let window = window.r();
|
||||
let chan = window.script_chan();
|
||||
let chan = window.user_interaction_task_source();
|
||||
let handler = Trusted::new(window.get_cx(), self, chan.clone());
|
||||
let dispatcher = ChangeEventRunnable {
|
||||
element: handler,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue