mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove a pointless clone() from add_font_face_rules.
This commit is contained in:
parent
1982ae38e3
commit
4cac3f4f97
1 changed files with 0 additions and 1 deletions
|
@ -324,7 +324,6 @@ fn add_font_face_rules(stylesheet: &Stylesheet,
|
|||
outstanding_web_fonts_counter: &Arc<AtomicUsize>) {
|
||||
for font_face in stylesheet.effective_rules(&device).font_face() {
|
||||
for source in &font_face.sources {
|
||||
let font_cache_task = (*font_cache_task).clone();
|
||||
outstanding_web_fonts_counter.fetch_add(1, Ordering::SeqCst);
|
||||
font_cache_task.add_web_font(font_face.family.clone(),
|
||||
(*source).clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue