auto merge of #4860 : Ms2ger/servo/warnings-4852, r=jdm

This commit is contained in:
bors-servo 2015-02-06 03:06:44 -07:00
commit 63f6601c13

View file

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