Remove from Trusted::new an unnecessary argument

This commit is contained in:
Arthur Skobara 2015-12-12 22:31:19 +06:00
parent f4783a0ec3
commit 8acb21a594
12 changed files with 22 additions and 23 deletions

View file

@ -344,7 +344,7 @@ impl VirtualMethods for HTMLTextAreaElement {
let window = window_from_node(self);
let window = window.r();
let chan = window.user_interaction_task_source();
let handler = Trusted::new(window.get_cx(), self, chan.clone());
let handler = Trusted::new(self, chan.clone());
let dispatcher = ChangeEventRunnable {
element: handler,
};