Cleanup some code formatting in compositing/compositor.rs

This commit is contained in:
Cameron Zwarich 2014-10-06 15:40:38 -07:00
parent 1aa13bb31f
commit 54f9bb0eea

View file

@ -314,13 +314,11 @@ impl IOCompositor {
chan.send(Some(azure_hl::current_graphics_metadata())); chan.send(Some(azure_hl::current_graphics_metadata()));
} }
(Ok(CreateOrUpdateRootLayer(layer_properties)), (Ok(CreateOrUpdateRootLayer(layer_properties)), NotShuttingDown) => {
NotShuttingDown) => {
self.create_or_update_root_layer(layer_properties); self.create_or_update_root_layer(layer_properties);
} }
(Ok(CreateOrUpdateDescendantLayer(layer_properties)), (Ok(CreateOrUpdateDescendantLayer(layer_properties)), NotShuttingDown) => {
NotShuttingDown) => {
self.create_or_update_descendant_layer(layer_properties); self.create_or_update_descendant_layer(layer_properties);
} }