servo: Merge #4860 - Fix warnings introduced in #4852 (from Ms2ger:warnings-4852); r=jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 63f6601c133fcee9c598c474695e3c740a02820d
This commit is contained in:
Ms2ger 2015-02-06 03:06:44 -07:00
Родитель 4c4a49bac3
Коммит 7e13f9f843
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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
}