util: Make some minor formatting cleanups to profiling and gfx

This commit is contained in:
Patrick Walton 2014-10-21 16:04:44 -07:00
parent f5e8df9dac
commit d2d012165f
4 changed files with 30 additions and 59 deletions

View file

@ -215,7 +215,8 @@ impl FontContext {
/// reference if already used by this font context.
pub fn get_render_font_from_template(&mut self,
template: &Arc<FontTemplateData>,
pt_size: Au) -> Rc<RefCell<ScaledFont>> {
pt_size: Au)
-> Rc<RefCell<ScaledFont>> {
for cached_font in self.render_font_cache.iter() {
if cached_font.pt_size == pt_size &&
cached_font.identifier == template.identifier {