[librsvg: 10/13] Don't get the ViewParams twice
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 10/13] Don't get the ViewParams twice
- Date: Fri, 5 Nov 2021 04:10:04 +0000 (UTC)
commit aba75b46a04fbd189cbaded11195b41041891e85
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Nov 4 21:35:55 2021 -0600
Don't get the ViewParams twice
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/626>
src/text.rs | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/text.rs b/src/text.rs
index 8b1905c4e..1d97b1ac8 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -801,8 +801,6 @@ impl Draw for Text {
positioned_chunks.push(positioned);
}
- let view_params = dc.get_view_params();
-
let mut layout_spans = Vec::new();
for chunk in &positioned_chunks {
for span in &chunk.spans {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]