aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index 19f1df86c3a..ec618e03847 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -49,6 +49,7 @@ use wrapper::ThreadSafeLayoutNode;
use geom::{Point2D, Rect, Size2D};
use gfx::display_list::ClippingRegion;
use rustc_serialize::{Encoder, Encodable};
+use msg::constellation_msg::ConstellationChan;
use msg::compositor_msg::LayerId;
use servo_util::geometry::{Au, ZERO_RECT};
use servo_util::logical_geometry::{LogicalRect, LogicalSize, WritingMode};
@@ -312,6 +313,9 @@ pub trait Flow: fmt::Debug + Sync {
/// 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<ComputedValues>);
+
+ /// Remove any compositor layers associated with this flow
+ fn remove_compositor_layers(&self, _: ConstellationChan) {}
}
// Base access