diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 0396737822a..6902341edae 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -38,7 +38,6 @@ use incremental::{self, RECONSTRUCT_FLOW, REFLOW, REFLOW_OUT_OF_FLOW, RestyleDam use inline::InlineFlow; use model::{CollapsibleMargins, IntrinsicISizes, MarginCollapseInfo}; use msg::compositor_msg::{LayerId, LayerType}; -use msg::constellation_msg::ConstellationChan; use multicol::MulticolFlow; use parallel::FlowParallelInfo; use rustc_serialize::{Encodable, Encoder}; @@ -363,9 +362,6 @@ pub trait Flow: fmt::Debug + Sync + Send + 'static { /// Attempts to perform incremental fixup of this flow by replacing its fragment's style with /// the new style. This can only succeed if the flow has exactly one fragment. fn repair_style(&mut self, new_style: &Arc); - - /// Remove any compositor layers associated with this flow - fn remove_compositor_layers(&self, _: ConstellationChan) {} } // Base access