Don't require root pipeline to match new pipeline

This reverts 2b0134be7b because it was
not correct for iframes.
This commit is contained in:
Matt Brubeck 2014-06-05 16:42:21 -07:00
parent b2e7e67087
commit a226086a32

View file

@ -363,7 +363,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"),