Auto merge of #10902 - asajeffrey:remove-explicit-panic-from-compositor, r=aneeshusa

Remove panic! from the compositor

Fixes #10864, and adds a check to `/etc/ci/check_no_unwrap.sh`.

r? @aneeshusa

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10902)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-29 17:25:17 -07:00
commit f75fa5283e
3 changed files with 14 additions and 7 deletions

View file

@ -505,7 +505,8 @@ impl<LTF: LayoutThreadFactory, STF: ScriptThreadFactory> Constellation<LTF, STF>
#[cfg(target_os = "windows")]
fn spawn_multiprocess(&mut self, _: PipelineId, _: UnprivilegedPipelineContent) {
panic!("Multiprocess is not supported on Windows.");
error!("Multiprocess is not supported on Windows.");
process::exit(1);
}
// Push a new (loading) pipeline to the list of pending frame changes