diff options
Diffstat (limited to 'components/script/task_source')
-rw-r--r-- | components/script/task_source/dom_manipulation.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/task_source/dom_manipulation.rs b/components/script/task_source/dom_manipulation.rs index 9672986b384..eaff254a5cf 100644 --- a/components/script/task_source/dom_manipulation.rs +++ b/components/script/task_source/dom_manipulation.rs @@ -61,10 +61,10 @@ impl DOMManipulationTaskSource { ) { let target = Trusted::new(target); let task = EventTask { - target: target, - name: name, - bubbles: bubbles, - cancelable: cancelable, + target, + name, + bubbles, + cancelable, }; let _ = self.queue(task, window.upcast()); } |