diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-20 08:17:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 08:17:13 -0500 |
commit | c270622bfdd7a409c1a940322f630fd6cbd985c0 (patch) | |
tree | de15876207f24b5c9421c30ff0401ba72e1d0dc4 /components/layout/flow.rs | |
parent | a5778fb5da8dbe6229cbd8da7a383b6e336a4ebd (diff) | |
parent | 2383cb2eee90f11ff3e456c0d99c923e65c25f01 (diff) | |
download | servo-c270622bfdd7a409c1a940322f630fd6cbd985c0.tar.gz servo-c270622bfdd7a409c1a940322f630fd6cbd985c0.zip |
Auto merge of #11800 - Ms2ger:place_float_if_applicable, r=nox
Remove unused argument to place_float_if_applicable.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11800)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 2 |
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 |