[librsvg: 10/22] handle::load_extern(): No need to cascade the extern SVG



commit c8dae8088df46ead5d18722d35643bd161f49939
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Jan 7 19:55:54 2019 -0600

    handle::load_extern(): No need to cascade the extern SVG
    
    The cascaded values will get passed by the Use element.

 rsvg_internals/src/handle.rs | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/rsvg_internals/src/handle.rs b/rsvg_internals/src/handle.rs
index 3e3e8d4c..099350aa 100644
--- a/rsvg_internals/src/handle.rs
+++ b/rsvg_internals/src/handle.rs
@@ -575,13 +575,6 @@ pub fn load_extern(handle: *const RsvgHandle, aurl: &AllowedUrl) -> Result<*cons
         if res.is_null() {
             Err(())
         } else {
-            let rhandle = get_rust_handle(handle);
-
-            let svg_ref = rhandle.svg.borrow();
-            let svg = svg_ref.as_ref().unwrap();
-
-            svg.tree.cascade();
-
             Ok(res)
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]