[librsvg: 4/5] feImage: box a field to avoid a large enum variant in PrimitiveParams
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 4/5] feImage: box a field to avoid a large enum variant in PrimitiveParams
- Date: Tue, 3 Aug 2021 23:28:28 +0000 (UTC)
commit d5249067bb560a0f4dd68c0a88815e049a16dcdd
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Aug 3 17:46:58 2021 -0500
feImage: box a field to avoid a large enum variant in PrimitiveParams
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/575>
src/filters/image.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/filters/image.rs b/src/filters/image.rs
index 9722006c..f5246403 100644
--- a/src/filters/image.rs
+++ b/src/filters/image.rs
@@ -36,7 +36,7 @@ struct ImageParams {
pub struct Image {
aspect: AspectRatio,
source: Source,
- feimage_values: ComputedValues,
+ feimage_values: Box<ComputedValues>,
}
/// What a feImage references for rendering.
@@ -205,7 +205,7 @@ impl FilterEffect for FeImage {
params: PrimitiveParams::Image(Image {
aspect: self.params.aspect,
source,
- feimage_values,
+ feimage_values: Box::new(feimage_values),
}),
})
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]