auto merge of #3794 : glennw/servo/font-content-opt, r=pcwalton

This commit is contained in:
bors-servo 2014-10-23 21:09:29 -06:00
commit 3910bc942f
6 changed files with 36 additions and 13 deletions

View file

@ -1809,6 +1809,11 @@ impl ComputedValues {
))
}
#[inline]
pub fn get_font_arc(&self) -> Arc<style_structs::Font> {
self.font.clone()
}
% for style_struct in STYLE_STRUCTS:
#[inline]
pub fn get_${style_struct.name.lower()}