Fix merge fallout

This commit is contained in:
Patrick Walton 2013-06-12 11:42:52 -07:00
parent aad51132ec
commit 162ba83108

View file

@ -142,8 +142,14 @@ pub impl<'self> FontContext {
for last_resort.each |family| { for last_resort.each |family| {
let result = list.find_font_in_family(*family,style); let result = list.find_font_in_family(*family,style);
for result.each |font_entry| { for result.each |font_entry| {
let instance = Font::new_from_existing_handle(self, &font_entry.handle, style, self.backend); let instance = Font::new_from_existing_handle(self,
do result::iter(&instance) |font: &@mut Font| { fonts.push(*font); } &font_entry.handle,
style,
self.backend,
self.profiler_chan.clone());
do result::iter(&instance) |font: &@mut Font| {
fonts.push(*font);
}
} }
} }