mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix warnings introduced in #4852.
This commit is contained in:
parent
237cdee9e4
commit
d5ec37e4a3
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ impl Actor for TabActor {
|
|||
let console_actor = registry.find::<ConsoleActor>(self.console.as_slice());
|
||||
console_actor.streams.borrow_mut().push(stream.clone());
|
||||
stream.write_json_packet(&msg);
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, true));
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, true)).unwrap();
|
||||
true
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,7 @@ impl Actor for TabActor {
|
|||
let console_actor = registry.find::<ConsoleActor>(self.console.as_slice());
|
||||
console_actor.streams.borrow_mut().pop();
|
||||
stream.write_json_packet(&msg);
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, false));
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, false)).unwrap();
|
||||
true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue