Skip to content

Commit c0fec11

Browse files
committed
chore: update LayoutCache init sites for azul cache refactor
Remove subtree_layout_cache (replaced by per-node cache_map in azul-layout)
1 parent bed52d2 commit c0fec11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/html/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ pub fn xml_to_pdf_pages(
264264
scroll_id_to_node_id: std::collections::BTreeMap::new(),
265265
counters: std::collections::BTreeMap::new(),
266266
float_cache: std::collections::BTreeMap::new(),
267-
subtree_layout_cache: std::collections::BTreeMap::new(),
267+
cache_map: Default::default(),
268268
};
269269
let mut text_cache = TextLayoutCache::new();
270270

@@ -547,7 +547,7 @@ pub fn xml_to_pdf_pages_debug(
547547
scroll_id_to_node_id: std::collections::BTreeMap::new(),
548548
counters: std::collections::BTreeMap::new(),
549549
float_cache: std::collections::BTreeMap::new(),
550-
subtree_layout_cache: std::collections::BTreeMap::new(),
550+
cache_map: Default::default(),
551551
};
552552
let mut text_cache = TextLayoutCache::new();
553553

0 commit comments

Comments
 (0)