aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-06-20 10:58:06 +0200
committerMs2ger <Ms2ger@gmail.com>2016-06-20 12:37:56 +0200
commit2383cb2eee90f11ff3e456c0d99c923e65c25f01 (patch)
tree000a4297c2d46f247bc7ab12428f95f8093752d4 /components/layout/flow.rs
parentfa0f2898fb8917cff54e07a6bd3ad8730ef10605 (diff)
downloadservo-2383cb2eee90f11ff3e456c0d99c923e65c25f01.tar.gz
servo-2383cb2eee90f11ff3e456c0d99c923e65c25f01.zip
Remove unused argument to place_float_if_applicable.
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index 1267ed31cf1..350092acc90 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -228,7 +228,7 @@ pub trait Flow: fmt::Debug + Sync + Send + 'static {
-> StackingContextId;
/// If this is a float, places it. The default implementation does nothing.
- fn place_float_if_applicable<'a>(&mut self, _: &'a LayoutContext<'a>) {}
+ fn place_float_if_applicable<'a>(&mut self) {}
/// Assigns block-sizes in-order; or, if this is a float, places the float. The default
/// implementation simply assigns block-sizes if this flow might have floats in. Returns true