mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -434,7 +434,8 @@ impl FontCache {
|
|||
FontSearchScope::Local => {
|
||||
self.find_font_in_local_family(&template_descriptor, &family_descriptor.name)
|
||||
},
|
||||
}.map(|t| self.get_font_template_info(t))
|
||||
}
|
||||
.map(|t| self.get_font_template_info(t))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -474,7 +475,8 @@ impl FontCacheThread {
|
|||
|
||||
cache.refresh_local_families();
|
||||
cache.run();
|
||||
}).expect("Thread spawning failed");
|
||||
})
|
||||
.expect("Thread spawning failed");
|
||||
|
||||
FontCacheThread { chan: chan }
|
||||
}
|
||||
|
@ -490,7 +492,8 @@ impl FontCacheThread {
|
|||
LowercaseString::new(&family.name),
|
||||
sources,
|
||||
sender,
|
||||
)).unwrap();
|
||||
))
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
pub fn exit(&self) {
|
||||
|
@ -538,7 +541,8 @@ impl FontSource for FontCacheThread {
|
|||
template_descriptor,
|
||||
family_descriptor,
|
||||
response_chan,
|
||||
)).expect("failed to send message to font cache thread");
|
||||
))
|
||||
.expect("failed to send message to font cache thread");
|
||||
|
||||
let reply = response_port.recv();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue