auto merge of #3765 : pcwalton/servo/profiler-cleanups, r=cgaebel

The only real user-visible change this effects is to trim URLs to 30 characters so they don't make huge lines on the terminal.

r? @cgaebel
This commit is contained in:
bors-servo 2014-10-22 14:45:35 -06:00
commit a6f0159cb8
3 changed files with 29 additions and 58 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 {