aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index b7eb8a4ef84..2421a797b43 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -285,15 +285,6 @@ impl<'a> FlowConstructor<'a> {
fn set_flow_construction_result(&self,
node: &ThreadSafeLayoutNode,
result: ConstructionResult) {
- if let ConstructionResult::None = result {
- let mut layout_data_ref = node.mutate_layout_data();
- let layout_data = layout_data_ref.as_mut().expect("no layout data");
- layout_data.remove_compositor_layers(self.layout_context
- .shared
- .constellation_chan
- .clone());
- }
-
node.set_flow_construction_result(result);
}