diff --git a/src/components/gfx/font_context.rs b/src/components/gfx/font_context.rs index e2d1abf4137..310b75944e5 100644 --- a/src/components/gfx/font_context.rs +++ b/src/components/gfx/font_context.rs @@ -142,8 +142,14 @@ pub impl<'self> FontContext { for last_resort.each |family| { let result = list.find_font_in_family(*family,style); for result.each |font_entry| { - let instance = Font::new_from_existing_handle(self, &font_entry.handle, style, self.backend); - do result::iter(&instance) |font: &@mut Font| { fonts.push(*font); } + let instance = Font::new_from_existing_handle(self, + &font_entry.handle, + style, + self.backend, + self.profiler_chan.clone()); + do result::iter(&instance) |font: &@mut Font| { + fonts.push(*font); + } } }