aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/font_cache_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/font_cache_task.rs')
-rw-r--r--components/gfx/font_cache_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/font_cache_task.rs b/components/gfx/font_cache_task.rs
index 250eb484a55..5732e6a79cf 100644
--- a/components/gfx/font_cache_task.rs
+++ b/components/gfx/font_cache_task.rs
@@ -191,7 +191,7 @@ impl FontCache {
let s = self.local_families.get_mut(family_name).unwrap();
if s.templates.len() == 0 {
- get_variations_for_family(&family_name, |path| {
+ get_variations_for_family(family_name, |path| {
s.add_template(&path, None);
});
}