auto merge of #2602 : mbrubeck/servo/revert-root-pipeline-check, r=pcwalton

This reverts 2b0134be7b because it was not correct for iframes.  Oops.  (Wasn't caught by tests because we still have other crashes preventing iframe testing.)  r? @pcwalton.
This commit is contained in:
bors-servo 2014-06-07 02:46:21 -04:00
commit 1184b500e5

View file

@ -359,7 +359,7 @@ impl IOCompositor {
}
_ => {
match self.root_pipeline {
Some(ref root_pipeline) if root_pipeline.id == id => {
Some(ref root_pipeline) => {
(root_pipeline.clone(), LayerId::null())
},
_ => fail!("Compositor: Received new layer without initialized pipeline"),