make naming more consistent

This commit is contained in:
Clark Gaebel 2014-10-28 10:06:39 -07:00
parent 6df1cc8e4c
commit 14b1c320a6
4 changed files with 8 additions and 8 deletions

View file

@ -246,7 +246,7 @@ impl FontCacheTask {
pub fn new(resource_task: ResourceTask) -> FontCacheTask {
let (chan, port) = channel();
spawn_named("font-cache-task", proc() {
spawn_named("FontCacheTask", proc() {
// TODO: Allow users to specify these.
let mut generic_fonts = HashMap::with_capacity(5);
add_generic_font(&mut generic_fonts, "serif", "Times New Roman");