mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
fix: omitted the let
bindings (#31908)
This commit is contained in:
parent
da76ebabe9
commit
ff95ce5abd
9 changed files with 20 additions and 26 deletions
|
@ -1869,7 +1869,7 @@ impl HTMLInputElement {
|
|||
let (chan, recv) = ipc::channel(self.global().time_profiler_chan().clone())
|
||||
.expect("Error initializing channel");
|
||||
let msg = FileManagerThreadMsg::SelectFiles(filter, chan, origin, opt_test_paths);
|
||||
let _ = resource_threads
|
||||
resource_threads
|
||||
.send(CoreResourceMsg::ToFileManager(msg))
|
||||
.unwrap();
|
||||
|
||||
|
@ -1896,7 +1896,7 @@ impl HTMLInputElement {
|
|||
let (chan, recv) = ipc::channel(self.global().time_profiler_chan().clone())
|
||||
.expect("Error initializing channel");
|
||||
let msg = FileManagerThreadMsg::SelectFile(filter, chan, origin, opt_test_path);
|
||||
let _ = resource_threads
|
||||
resource_threads
|
||||
.send(CoreResourceMsg::ToFileManager(msg))
|
||||
.unwrap();
|
||||
|
||||
|
@ -2582,7 +2582,7 @@ impl VirtualMethods for HTMLInputElement {
|
|||
{
|
||||
if event.IsTrusted() {
|
||||
let window = window_from_node(self);
|
||||
let _ = window
|
||||
window
|
||||
.task_manager()
|
||||
.user_interaction_task_source()
|
||||
.queue_event(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue