mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
Fix merge fallout
This commit is contained in:
parent
aad51132ec
commit
162ba83108
1 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue