[librsvg] flood: shorten code
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] flood: shorten code
- Date: Mon, 6 Jan 2020 11:55:47 +0000 (UTC)
commit 49b0074c10ebfcbed9062a2bd2679f9e803bd03c
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Jan 6 12:55:46 2020 +0100
flood: shorten code
rsvg_internals/src/filters/flood.rs | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/rsvg_internals/src/filters/flood.rs b/rsvg_internals/src/filters/flood.rs
index 463f76ed..a3e58bdd 100644
--- a/rsvg_internals/src/filters/flood.rs
+++ b/rsvg_internals/src/filters/flood.rs
@@ -47,11 +47,7 @@ impl FilterEffect for FeFlood {
};
let opacity = values.flood_opacity.0;
- let surface = ctx.source_graphic().flood(
- bounds,
- color,
- opacity,
- )?;
+ let surface = ctx.source_graphic().flood(bounds, color, opacity)?;
Ok(FilterResult {
name: self.base.result.clone(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]